fix reactions in dms

This commit is contained in:
MathMan05 2024-08-11 22:42:45 -05:00
parent c3d1674e57
commit b1fc333bc4
3 changed files with 16 additions and 3 deletions

View file

@ -406,7 +406,7 @@ class Message{
}
}
}
giveReaction(data:{name:string},member:Member){
giveReaction(data:{name:string},member:Member|{id:string}){
for(const thing of this.reactions){
if(thing.emoji.name===data.name){
thing.count++;