Skip to content

Commit

Permalink
Append additional table creation after removing old table
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfdragon24 committed Aug 8, 2024
1 parent fa02763 commit ccb0ff7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ module.exports = {
} else if (interaction.options.getSubcommand() === COMMAND_DROPUSERTABLE) {
const userDB = global.userDB;
await userDB.deleteUsers();
await userDB.create_table_users();

return await interaction.reply("Deleted user table.");
}
Expand Down

0 comments on commit ccb0ff7

Please sign in to comment.