Compare commits

...

2 commits

2 changed files with 2 additions and 1 deletions

View file

@ -109,7 +109,7 @@ bot.on("messageUpdate", async (msg, oldMsg) => {
}
});
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;
try {

View file

@ -1151,3 +1151,4 @@ fedimbedCommand.callback = async function (interaction) {
};
}
};
hf.registerCommand(fedimbedCommand);