This commit is contained in:
Christopher Cookman 2023-03-09 08:23:48 -07:00
parent 799412deab
commit 5c1841472a
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -60,6 +60,7 @@ client.on('interactionCreate', async (interaction) => {
switch (interaction.commandName) {
case "reset":
// Remove the session
console.log(`${colors.cyan("[INFO]")} Resetting session for ${colors.green(interaction.channelId)} (${interaction.channel.name})}`)
await delete sessions[interaction.channelId];
interaction.reply(lang.reset);
break;