Commit ca18aa82 authored by Neoony's avatar Neoony
Browse files

-Small bugfix -Added some basic README.md

parent 1d79c53b
......@@ -513,7 +513,7 @@ function ComePlayNotifier() {
// server.member(userx).roles.add(rolex).catch(console.error);
// message.channel.send('You have been added to come-play channel\n' + 'Link to the channel: https://discordapp.com/channels/' + DiscordChannelID + '/' + channelx.id);
// add @here
channelx.send('@here**```Game is starting in Lobby, come play!```**' + messageComePlayNotifLobby).catch(console.error);
channelx.send('@here```Game is starting in Lobby, come play!```' + messageComePlayNotifLobby).catch(console.error);
console.log('@hereGame is starting in Lobby, come play!\n' + messageComePlayNotifLobby);
fs.unlink(path, (err) => {
......@@ -532,7 +532,7 @@ function ComePlayNotifier() {
console.log('Missing permission MENTION_EVERYONE');
// If no Mention permission only message without mention
channelx.send('**```Game is starting in Lobby, come play!```**' + messageComePlayNotifLobby).catch(console.error);
channelx.send('```Game is starting in Lobby, come play!```' + messageComePlayNotifLobby).catch(console.error);
console.log('Game is starting in Lobby, come play!\n' + messageComePlayNotifLobby);
fs.unlink(path, (err) => {
......
# EmpiresLobbyDiscord
**Show the status of servers and number of players on Discord**
# **This plugin is not designed for public use**
*Created by* **Neoony**
--
**Status**
Bot has different statuses
![Status Waiting](https://i.imgur.com/npfFqeZ.png)
![Status !srv](https://i.imgur.com/KLagOFL.png)
There is more of them...
**!srv**
DirectMessage the bot !srv to get info about servers
![!srv](https://i.imgur.com/EDEgPWp.png)
**!cpjoin / !cpleave**
If bot has permission MANAGE_ROLES on the Discord server, users can DirectMessage the bot !cpjoin or !cpleave
Bot will assign or unassign role Come-Play notifier to the user on the Discord server
![!srv](https://i.imgur.com/uCEFwwl.png)
**Come-Play Notifier**
If bot has permission SEND_MESSAGES in come-play channel then he will send notification message in come-play channel
If bot has permission MENTION_EVERYONE in come-play channel then he will also mention @here
This message can only happen once in 12 hours
Only if Lobby has 6 or more players, or only if regular server has 12 or more players
![!srv](https://i.imgur.com/NoDAvV7.png)
\ No newline at end of file
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