Skip to content
This repository was archived by the owner on Mar 28, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -788,13 +788,6 @@ bot.on('message', async (message) => {
}
}

if (message.content === '-stop') {
message.channel.send('Stopping...').then((m) => {
// this ends the bot, causing a shut down
// Same logic goes to the end of the game if needed
bot.destroy().then(() => bot.login(process.env.BOT_TOKEN));
});
}

if (message.content.toLocaleLowerCase().includes('trivia')) {
//should work without the bot on???
Expand Down