Add emoji to invite command button
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bea 2022-11-21 16:24:21 +01:00
parent 163619a7f8
commit 326ad68e38

View File

@ -39,7 +39,8 @@ public class InviteCommand
}
String inviteUrl = Configuration.getInviteUrl();
Button inviteButton = Button.link(inviteUrl, "Invite " + Configuration.getBotName());
Button inviteButton = Button.link(inviteUrl, "Invite " + Configuration.getBotName())
.withEmoji(Emoji.fromUnicode("\uD83C\uDF1F"));
WebhookMessageEditAction<Message> reply =
event.getHook()