mgerb / ServerStatus

A Discord bot to display the status of servers.
https://hub.docker.com/r/mgerb/server-status
76 stars 16 forks source link

Server status is not working. #33

Closed RaspberryTech01 closed 4 years ago

RaspberryTech01 commented 4 years ago

Hi, I have tried both the linux binary and the docker-compose. The bot comes online and can read the config.json file. When I try to use !ServerStatus or automatically wait for it to post servers in the channel ID channel, nothing comes even after 10 seconds. image

The image is of my config file. Both the linux and docker binary work but I am unable to use commands or get the server statuses.

How can I fix this?

mgerb commented 4 years ago

Does the bot send the initial welcome message to the DIscord chat channel on startup? If not, it sounds like your bot may not have been added to your server yet. Try this https://discordjs.guide/preparations/adding-your-bot-to-servers.html

RaspberryTech01 commented 4 years ago

Ah right that solved it I needed to grant it administrator permissions, a question, is it possible to it show the uptime automatically lets say every 5 minutes? Rather than me manually having to type the command?

RaspberryTech01 commented 4 years ago

https://github.com/mgerb/ServerStatus/issues/32 Question above answered here.