Skip to content

Commit

Permalink
Fix note deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
abalabahaha committed Aug 2, 2018
1 parent f49bd52 commit 8eb801f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gateway/Shard.js
Expand Up @@ -1398,7 +1398,7 @@ class Shard extends EventEmitter {
if(packet.d.note) {
this.client.notes[packet.d.id] = packet.d.note;
} else {
this.client.notes[packet.d.id];
delete this.client.notes[packet.d.id];
}
break;
}
Expand Down

0 comments on commit 8eb801f

Please sign in to comment.