mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-22 21:51:29 +00:00
quit out of duped messages
This commit is contained in:
1 parent
9e1714e2db
commit
8930f8fb65
1 file changed
+4
@@ -2872,6 +2872,10 @@ class Channel extends SnowFlake {
|
||||
if (!this.hasPermission("VIEW_CHANNEL")) {
|
||||
return;
|
||||
}
|
||||
if(this.messages.get(messagep.d.id)){
|
||||
console.error("Duped messaged?")
|
||||
return;
|
||||
}
|
||||
this.nonces.add(messagep.d.nonce);
|
||||
setTimeout(
|
||||
() => {
|
||||
|
||||
Reference in new issue
Block a user