fix reactions in dms
This commit is contained in:
parent
c3d1674e57
commit
b1fc333bc4
3 changed files with 16 additions and 3 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue