From 326ad68e38fb843f93c5e567a236cb73279bd6e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Mon, 21 Nov 2022 16:24:21 +0100 Subject: [PATCH] Add emoji to invite command button --- .../wtf/beatrice/hidekobot/commands/slash/InviteCommand.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/wtf/beatrice/hidekobot/commands/slash/InviteCommand.java b/src/main/java/wtf/beatrice/hidekobot/commands/slash/InviteCommand.java index ee874ce..1065167 100644 --- a/src/main/java/wtf/beatrice/hidekobot/commands/slash/InviteCommand.java +++ b/src/main/java/wtf/beatrice/hidekobot/commands/slash/InviteCommand.java @@ -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 reply = event.getHook()