Files
mafuyu-kirisu/commands/contests/reset.ts
konchin 2d7361e937
Some checks failed
release-tag / release-image (push) Failing after 1m14s
initial commit
2024-10-11 19:49:58 +08:00

22 lines
634 B
TypeScript

/* DEPRECATED
import {CommandInteraction} from 'discord.js';
import {Command} from '../../classes/command';
import {logger} from '../../logger'
import {clearContests, clearProblems, clearSessions} from '../../functions/database';
class Reset extends Command{
get name(){return "reset";}
get description(){return "Reset database.";}
async execute(interaction: CommandInteraction): Promise<void>{
await clearContests();
await clearProblems();
await clearSessions();
await interaction.reply({content: `Reset complete.`});
logger.log(`Command: reset database.`);
}
};
export const command = new Reset();
*/