Add new member channel setting

This commit is contained in:
Tarrgon
2025-05-30 13:39:00 -04:00
parent 1163ce072b
commit 730fb60167
2 changed files with 18 additions and 0 deletions
+4
View File
@@ -147,6 +147,10 @@ export class Database {
await Database.db.run('UPDATE settings SET voice_logs_channel_id = ? WHERE guild_id = ?', id, guildId);
}
static async setGuildNewMemberLogsChannel(guildId: string, id: string) {
await Database.db.run('UPDATE settings SET new_member_channel_id = ? WHERE guild_id = ?', id, guildId);
}
static async setGuildAdminRole(guildId: string, id: string) {
await Database.db.run('UPDATE settings SET admin_role_id = ? WHERE guild_id = ?', id, guildId);
}