Re enable channel lock

This commit is contained in:
Alex 2020-08-06 02:25:38 -05:00
parent b2e978cabe
commit 0999d359a4
1 changed files with 3 additions and 2 deletions

View File

@ -32,8 +32,8 @@ client.on('message', async message => {
// Message processing
// Only can be used in #linecon
// let okchannel = client.channels.cache.get("710574818222931968")
// if (!(message.channel === okchannel)) return;
let okchannel = client.channels.cache.get("710574818222931968")
if (!(message.channel === okchannel)) return;
// Discards messages from bots
if (message.author.bot) return;
@ -76,6 +76,7 @@ client.on('message', async message => {
console.log(players)
console.log(players.length + " players")
message.channel.send('<:BeachBall:739941658639990866> ' + (players[0].toString()).slice(19)).then(message => {
message.react(config.emoteID).then(() => {
const roundone = (reaction, user) => {