initial commit
Some checks failed
release-tag / release-image (push) Failing after 1m14s

This commit is contained in:
konchin
2024-10-11 19:49:58 +08:00
commit 2d7361e937
38 changed files with 4029 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/* 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();
*/