Changed bot channel

This commit is contained in:
Talor Berthelson
2021-07-19 22:47:22 -04:00
parent b08f577078
commit aa57cbd074
2 changed files with 2 additions and 2 deletions

View File

@@ -22,9 +22,9 @@ for (const park in ThemeParks.Parks) {
client.on('ready', () => { client.on('ready', () => {
console.log(`Logged in as ${client.user.tag}!`); console.log(`Logged in as ${client.user.tag}!`);
}); });
var goodchannel = "bot_commandse"; var goodchannel = "bot_commands";
client.on('message', msg => { client.on('message', msg => {
if (msg.channel.name == goodchannel) if (msg.channel.name !== goodchannel)
return; return;
else { else {
if (!msg.content.startsWith(prefix)) return; if (!msg.content.startsWith(prefix)) return;

BIN
themeparks.db Normal file

Binary file not shown.