1
0
mirror of https://github.com/mgerb/ServerStatus synced 2026-01-11 19:52:49 +00:00

Updates and maintenance

- switch from dep to go modules
- update to discordgo v0.27.1
- fix offline/online message bug
This commit is contained in:
2024-03-03 11:27:42 -06:00
committed by Mitchell Gerber
parent ed232fc785
commit 50a06b98be
7 changed files with 111 additions and 204 deletions

View File

@@ -1,19 +1,19 @@
{
"Token": "your bot token",
"RoomIDList":["room id list goes here"],
"RolesToNotify": ["<@&roleid>", "<@userid>"],
"GameStatus": "current playing game",
"PollingInterval": 10,
"BotPrefix": "!",
"Servers": [
{
"Name": "Your awesome server",
"Address": "game.server.com",
"Port": 80
}, {
"Name": "Another awesome server",
"Address": "awesome.server.com",
"Port": 8080
}
]
"Token": "your bot token",
"RoomIDList": ["room id list goes here"],
"RolesToNotify": ["<@&roleid>", "<@userid>"],
"GameStatus": "current playing game",
"PollingInterval": 10,
"Servers": [
{
"Name": "Your awesome server",
"Address": "game.server.com",
"Port": 80
},
{
"Name": "Another awesome server",
"Address": "awesome.server.com",
"Port": 8080
}
]
}