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,
}
diff --git a/src/utils/defaultEmbeds.ts b/src/utils/defaultEmbeds.ts
index 0f226da..e799307 100644
--- a/src/utils/defaultEmbeds.ts
+++ b/src/utils/defaultEmbeds.ts
@@ -4,5 +4,6 @@
.setTitle("Loading")
.setDescription("One moment...")
.setStatus("Danger")
- .setEmoji("NUCLEUS.LOADING")]
+ .setEmoji("NUCLEUS.LOADING")
+]
diff --git a/src/utils/log.ts b/src/utils/log.ts
index 22da837..0c6aa89 100644
--- a/src/utils/log.ts
+++ b/src/utils/log.ts
@@ -29,7 +29,7 @@
entry(value, displayValue) {
return { value: value, displayValue: displayValue }
}
- renderChannel(channel: Discord.GuildChannel | Discord.ThreadChannel | Discord.NewsChannel) {
+ renderChannel(channel: Discord.GuildChannel | Discord.ThreadChannel) {
return `${channel.name} [<#${channel.id}>]`;
}
renderRole(role: Discord.Role) {