mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
AutoReactions: actually fix invalid custom emoji check
This commit is contained in:
parent
052b580a38
commit
c82448d2d7
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ export class AutoReactions extends Plugin {
|
|||
const customEmojiMatch = reaction.match(customEmojiRegex);
|
||||
if (customEmojiMatch) {
|
||||
// Custom emoji
|
||||
if (!guildEmojiIds.includes(customEmojiMatch[1])) {
|
||||
if (!guildEmojiIds.includes(customEmojiMatch[2])) {
|
||||
msg.channel.createMessage(errorMessage("I can only use regular emojis and custom emojis from this server"));
|
||||
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue