Fixed welcome
diff --git a/src/utils/database.ts b/src/utils/database.ts
index 2f04198..8a5ca6f 100644
--- a/src/utils/database.ts
+++ b/src/utils/database.ts
@@ -49,7 +49,6 @@
let out = {$set: {}, $unset: {}}
if (set) out["$set"] = set;
if (unset.length) out["$unset"] = uo;
- console.log(out)
await this.guilds.updateOne({ id: guild }, out, { upsert: true });
}
@@ -211,7 +210,8 @@
message: boolean,
role: string | null
},
- welcomeRole: string | null,
+ role: string | null,
+ ping: string | null,
channel: string | null,
message: string | null,
}