Dev watch button

This commit is contained in:
Tarrgon
2025-07-09 10:25:44 -04:00
parent 6d2eff0e85
commit c40c1ee590
5 changed files with 86 additions and 0 deletions
+5
View File
@@ -25,6 +25,7 @@ const DB_SCHEMA = `
voice_logs_channel_id TEXT,
admin_role_id TEXT,
private_help_role_id TEXT,
devwatch_role_id TEXT,
staff_categories TEXT,
safe_channels TEXT,
link_skip_channels TEXT,
@@ -183,6 +184,10 @@ export class Database {
await Database.db.run('UPDATE settings SET private_help_role_id = ? WHERE guild_id = ?', id, guildId);
}
static async setGuildDevWatchRole(guildId: string, id: string) {
await Database.db.run('UPDATE settings SET devwatch_role_id = ? WHERE guild_id = ?', id, guildId);
}
static async setGuildGithubReleaseChannel(guildId: string, id: string) {
await Database.db.run('UPDATE settings SET github_release_channel = ? WHERE guild_id = ?', id, guildId);
}