
Matthiesen Lib Webhooks
A Server-side library mod for Matthiesen Lib projects that want to be able to send discord webhooks easily!
Оцените первым
39
1
Matthiesen Lib Webhooks
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.
Часто задаваемые вопросы
Зависимости
Ссылки
Создатели
Детали
Лицензия:
Опубликован:3 недели назад
Обновлён:1 неделю назад
