Commit 922bd6c4 authored by Neoony's avatar Neoony
Browse files

Added link to steam charts in !srv and reduced time of showing info message...

Added link to steam charts in !srv and reduced time of showing info message about !srv from 5 seconds to 3.5 seconds
parent 375e4ec1
......@@ -294,7 +294,7 @@ function RefreshSQL()
client.user.setPresence({ game: { name: "Game On!" + " @" + namex[HighestPopServer], type: "Playing", url: "https://empiresmod.com"}});
}
messageServerOn += "```CSS\n" + "Total number of players: " + numberofallplayers + "\nServers: " + numberofservers + "\n" + "```";
messageServerOn += "```CSS\n" + "Total number of players: " + numberofallplayers + "\nServers: " + numberofservers + "\n" + "```" + "***`" + "Statistics: `*** **https://steamcharts.com/app/17740" + "**";
if (numberofallplayers == 0 && LobbyUp == 1)
{
......@@ -332,7 +332,9 @@ function RefreshSQL()
client.user.setPresence({ game: { name: "Game On!" + " @" + namex[HighestPopServer], type: "Playing", url: "https://empiresmod.com"}});
}
}
setTimeout(MessageMe, 5000);
//Adjust the length of time showing the !srv info message.
//Higher number means less. In 10 seconds intervals: 7000 = 3sec ... 4000 = 6 sec
setTimeout(MessageMe, 6500);
//messageServerOn += namex[i] + " (" + playersx[i] + "/" + maxplayersx[i] + ")" + "\n" + addrx[i] + "\n";
//console.log('Returned value on message: ', messageServerOn);
......
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