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