(guild: string, role: string)
| 215 | } |
| 216 | |
| 217 | async addTagRole(guild: string, role: string) { |
| 218 | const guildDB = await this.getGuild(guild); |
| 219 | this.connection |
| 220 | .prepare("UPDATE guilds SET tag_roles = ? WHERE guild_id = ?") |
| 221 | .run(JSON.stringify([...guildDB.tag_roles, role]), guild); |
| 222 | } |
| 223 | |
| 224 | async removeTagRole(guild: string, role: string) { |
| 225 | const guildDB = await this.getGuild(guild); |