mirror of
https://github.com/nx-bat/discordbot-ng.git
synced 2026-09-22 02:19:09 -04:00
Fix table being used
This commit is contained in:
@@ -141,7 +141,7 @@ export class Database {
|
||||
}
|
||||
|
||||
static async removeUser(id: number, discordId: string) {
|
||||
await Database.db.run('DELETE from tickets WHERE user_id = ? AND discord_id = ?', id, discordId);
|
||||
await Database.db.run('DELETE from discord_names WHERE user_id = ? AND discord_id = ?', id, discordId);
|
||||
}
|
||||
|
||||
// -- END WHOIS --
|
||||
|
||||
Reference in New Issue
Block a user