Matthiesen Lib Webhooks 图标

Matthiesen Lib Webhooks

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/matthiesen-lib-webhooks
资源信息

Minecraft 版本: 1.21.1

平台: neoforge

标签: library utility

资源介绍

Matthiesen Lib Webhooks

Matthiesen Lib API

A Server-side library mod for Matthiesen Lib projects that want to be able to send discord webhooks easily!

Requirements

Docs

Documentation for this mod can be found at mods.matthiesen.dev

Library Usage

MatthiesenLibWebhooks.Webhooks webhooks = new MatthiesenLibWebhooks.Webhooks("https://discord.com/api/webhooks/...");

webhooks.sendMessage(message -> message
        .withUsername("My Mod")
        .withContent("Simple webhook message"));

webhooks.sendMessage(message -> message
        .withUsername("My Mod")
        .addEmbed(embed -> embed
                .withTitle("Status Update")
                .withDescription("Everything is online")
                .addField("Players", "12", true)
                .addField("TPS", "20.0", true)
        ));

Version Compatibility

Minecraft Version Mod Version
1.21.1 1.x.x

License

MIT - see LICENSE.

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Pendulum

价格:0 墨喵币
下载量:0

查看详情
advanced settings

价格:0 墨喵币
下载量:0

查看详情
Excalibur | Variants&Ventures Support

价格:0 墨喵币
下载量:0

查看详情
El and L's Interiors Resource Pack

价格:0 墨喵币
下载量:0

查看详情