prettiered
diff --git a/src/utils/database.ts b/src/utils/database.ts
index c9b6a8d..5386f7f 100644
--- a/src/utils/database.ts
+++ b/src/utils/database.ts
@@ -144,8 +144,13 @@
}
async staffChannels(): Promise<string[]> {
- const entries = await this.guilds.find({ "logging.staff.channel": {$exists: true}}, { projection: { "logging.staff.channel": 1, _id: 0 } }).toArray();
- return entries.map(e => e.logging.staff.channel!);
+ const entries = await this.guilds
+ .find(
+ { "logging.staff.channel": { $exists: true } },
+ { projection: { "logging.staff.channel": 1, _id: 0 } }
+ )
+ .toArray();
+ return entries.map((e) => e.logging.staff.channel!);
}
}