feat/40-reroll-on-disinterest #54
@ -8,8 +8,10 @@ import { client } from "../..";
|
||||
export const name = 'messageReactionAdd'
|
||||
|
||||
export async function execute(messageReaction: MessageReaction, user: User) {
|
||||
if (user.id == client.user?.id)
|
||||
if (user.id == client.user?.id) {
|
||||
logger.info('Skipping bot reaction')
|
||||
kenobi marked this conversation as resolved
Outdated
|
||||
return
|
||||
}
|
||||
const requestId = newRequestId()
|
||||
const guildId = messageReaction.message.inGuild() ? messageReaction.message.guildId : noGuildId
|
||||
const reactedUponMessage: Message = messageReaction.message.partial ? await messageReaction.message.fetch() : messageReaction.message
|
||||
|
Loading…
Reference in New Issue
Block a user
need to return here
added