Development (#13)
Co-authored-by: PineaFan <ash@pinea.dev>
Co-authored-by: pineafan <pineapplefanyt@gmail.com>
Co-authored-by: PineappleFan <PineaFan@users.noreply.github.com>
Co-authored-by: Skyler <skyler3665@gmail.com>
diff --git a/src/utils/log.ts b/src/utils/log.ts
index c6416a1..bb95eda 100644
--- a/src/utils/log.ts
+++ b/src/utils/log.ts
@@ -79,7 +79,10 @@
},
async log(log: LoggerOptions): Promise<void> {
if (!await isLogging(log.hidden.guild, log.meta.calculateType)) return;
+ console.log(log.hidden.guild)
const config = await client.database.guilds.read(log.hidden.guild);
+ console.log(config.logging.logs.channel)
+
if (config.logging.logs.channel) {
const channel = (await client.channels.fetch(config.logging.logs.channel)) as Discord.TextChannel | null;
const description: Record<string, string> = {};