forked from Galactic/galactic-bot
cringe solution
This commit is contained in:
parent
c25bf23098
commit
5fa127fda3
@ -375,9 +375,8 @@ class ModerationManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//TODO: Log this, should never error... hopefully.
|
//TODO: Log this, should never error... hopefully.
|
||||||
console.log(i._id);
|
|
||||||
await this.client.storageManager.mongodb.infractions.updateOne(
|
await this.client.storageManager.mongodb.infractions.updateOne(
|
||||||
{ _id: i._id },
|
{ _id: `${i._id}` },
|
||||||
{ _callbacked: true }
|
{ _callbacked: true }
|
||||||
).catch((e) => {}); //eslint-disable-line no-empty, no-unused-vars, no-empty-function
|
).catch((e) => {}); //eslint-disable-line no-empty, no-unused-vars, no-empty-function
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user