mirror of
https://github.com/nx-bat/pet-the-pond.git
synced 2026-09-22 10:29:11 -04:00
testing round 1.
This commit is contained in:
@@ -7,7 +7,7 @@ class MessageReactionAddEvent extends Event<CommandClient> {
|
||||
event: string = 'messageReactionAdd' as const;
|
||||
|
||||
async handle(context: CommandClient<any, any>, message: Message, emoji: Constants.APIEmoji, member: Member) {
|
||||
if (emoji.id !== "448912932340891670") return;
|
||||
if (!message.guildID || emoji.id != '1547870117080342548' || member.id == message.author.id) return;
|
||||
await database.points.addPoints(message.author.id, member.guild.id, 1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user