remove uneeded warn
This commit is contained in:
@@ -160,9 +160,6 @@ class Channel extends SnowFlake {
|
||||
}
|
||||
else {
|
||||
if (this.idToNext.has(id)) {
|
||||
if (!this.messages.has(this.idToNext.get(id))) {
|
||||
console.error("how did we get here?");
|
||||
}
|
||||
return this.idToNext.get(id);
|
||||
}
|
||||
else if (this.lastmessage?.id !== id) {
|
||||
|
@@ -174,7 +174,6 @@ class Channel extends SnowFlake{
|
||||
}
|
||||
}else{
|
||||
if(this.idToNext.has(id)){
|
||||
if(!this.messages.has(this.idToNext.get(id))){console.error("how did we get here?")}
|
||||
return this.idToNext.get(id);
|
||||
}else if(this.lastmessage?.id!==id){
|
||||
await this.grabAfter(id);
|
||||
|
Reference in New Issue
Block a user