diff --git a/utils/Query.ts b/utils/Query.ts index 5df1259..be930f1 100644 --- a/utils/Query.ts +++ b/utils/Query.ts @@ -254,7 +254,7 @@ async function getBotSpec(id: string, userID: string) { async function deleteBot(id: string): Promise { const bot = await knex('bots').where({ id }).del() - + get.bot.clear(id) return !!bot }