Skip to content

Commit

Permalink
some necessary stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
java-coding-prodigy committed Nov 5, 2023
1 parent fac78eb commit aef2361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/config.json.template
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
]
},
"starboard": {
"emojiNames" : ["star"],
"emojiNames" : [""],
"channelPattern": "starboard"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public Starboard(Config config, Database database) {

@Override
public void onMessageReactionAdd(@NotNull MessageReactionAddEvent event) {
String emojiName = event.getEmoji().asCustom().getName();
String emojiName = event.getEmoji().getName();
Guild guild = event.getGuild();
long messageId = event.getMessageIdLong();
if (shouldIgnoreMessage(emojiName, guild, event.getGuildChannel(), messageId)) {
Expand Down

0 comments on commit aef2361

Please sign in to comment.