Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Latest commit

 

History

History
47 lines (32 loc) · 1.43 KB

File metadata and controls

47 lines (32 loc) · 1.43 KB

DownDetector bot

To use the bot add the bot to your server with this Link

Slash commands

/watch-mirror add {@role} Adds the channel the comand is run in to the list of channels watching mirror. The role passed in with the command is piged by the bot when there is a status update.

/watch-mirror delete Deletes the channel the command is run in from the watch list.

/ping {address} used to ping any hostname or ip address.

Development Notes

Dependencies

Install D++ using instructions on the D++ Documentation Website. Installation Instructions

There are many ways to install I personally built D++ from source from the github. D++ Github

Development ENV File

Create a .env file with the following 3 lines of text for registering slash commands in a single server for testing.

DiscordToken
test
guild_id

Production ENV File

Create a .env file with the following 2 lines of text for registering slash commands globally for any server the bot joins.

DiscordToken
global

Start the bot

To start the bot just run docker-compose up. Your .env file should be located in a subdirectory in the project root called resources/. Your channels.txt will also be located in this subdirectory, but you do not need to manually create this file.