A Discord Bot which will show the real-time status of Dyno
- Clone the repository
- Node 10 is required, so head to the Node.js download page and download/install the LTS version
- Run
npm install
to install the dependencies (Eris, Axios and mathjs) - Create a new bot application (see Creating a bot account)
- Open
config.json
and set your desired channel ID for the status to go to - Start the bot
- Head to the Discord Developer Portal
- Press New Application, call it whatever you want to name your bot
- Head to the Bot tab, Add Bot
- Copy the bot token - DO NOT SHARE THIS WITH ANYONE
- Put the bot token in between the
''
on the first line ofindex.js
, save - Head back to the Developer Portal, open the OAuth2 tab
- Under
Scopes
, tick only thebot
option - Give the bot
Send Messages
andEmbed Links
IMPORTANT!, the rest of the permissions are optional - Copy the URL, then invite the bot to your desired server
- dyno-status serves as an easy way to check the real time status of the public version of Dyno, instead of having to visit their status page
- Every 20 seconds, dyno-status will send an API request to the status page, fetching the most recent information available. After the information has been received, dyno-status will translate the information relayed into an embed which looks something like this:
- An API request is sent every 20 seconds and the latest information from the API is updated every 15 seconds. So when a status update is fetched, you will see the uptime jump 15 seconds each refresh rather than 20 seconds. This is not something to worry about
- I wanted a way of easily accessing the real time connection status of Dyno with Discord, and the best way is to check the platform you're using, Discord
- Doing support, if someone reports an offline server, it takes time to grab their server ID, load the status page and verify what cluster/shard the server is on. Having a bot which has the latest information for you makes this so much more easier
- I wanted to get myself involved in more JavaScript
- I was bored. No joke. I had nothing to do.
- Although I am a Trusted member of Dyno, Dyno has no affiliation or relation with this project in any way. This was my own personal project, and I may remove this repository at the developer's request.
- The bot was built on Node.js 10.16.0 LTS. I will support Node versions 10+, however if bugs occur on versions below Node 10, I will not fix them. However, if you wish to fix any bugs relating to this, feel free to make a PR.
- 0.0.1 Initial Release