Compare commits
2 commits
a0324d9cfc
...
4f8340cba7
Author | SHA1 | Date | |
---|---|---|---|
4f8340cba7 | |||
ff4615e1aa |
2 changed files with 2 additions and 1 deletions
|
@ -109,7 +109,7 @@ bot.on("messageUpdate", async (msg, oldMsg) => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
bot.on("messageReactionAdd", async (msg, reaction, reactor) => {
|
bot.on("messageReactionAdd", async (msg, reaction, reactor) => {
|
||||||
if (msg.author.id !== bot.user.id) return;
|
if (msg?.author?.id !== bot.user.id) return;
|
||||||
if (reaction.name !== "\u274c") return;
|
if (reaction.name !== "\u274c") return;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -1151,3 +1151,4 @@ fedimbedCommand.callback = async function (interaction) {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
hf.registerCommand(fedimbedCommand);
|
||||||
|
|
Loading…
Reference in a new issue