Commit ccb94c07 authored by Neoony's avatar Neoony
Browse files

- Adjust comeplay notification message, now happens at 4 players in lobby instead of 6

parent 229372aa
......@@ -781,7 +781,7 @@ function ComePlayNotifier() {
console.log(DateAndTime + ': ' + 'CPNotifCounter = ' + CPNotifCounter);
console.log(DateAndTime + ': ' + 'cpplayersinlobby: ' + cpplayersinlobby);
if (cpplayersinlobby >= 6 && CPNotifCounter <= 0) {
if (cpplayersinlobby >= 4 && CPNotifCounter <= 0) {
const serverx = client.guilds.cache.get(DiscordChannelID);
const channelx = client.guilds.cache.get(DiscordChannelID).channels.cache.find(channel => channel.name === ComePlayChannelName);
// const rolexz = client.guilds.cache.get(DiscordChannelID).roles.cache.find(role => role.name === 'Status');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment