Skip to content

COSI-Lab/Mirror-Down-Detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 the start-bot.sh bash script.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published