Launch a minimal python script to take your Discord Bot always online. The idea came with the extension Discord-Sync for the Woltlab Suite by Hanashi. With this extension you can synchronize your Woltlab Suite user groups with the user groups of Discord. But it should also work with any other bot.
- Docker installed
- You need a Bot Token (Create a Bot)
- Modified Script from @TitusKirch
Create a Discord bot and obtain a BOT-TOKEN! Not the Client Secret!
Then create the Container with:
docker create \
--name=discordbotonline \
--env 'GAMENAME=Visit KeinNerd.net' \
--env 'DISCORDTOKEN=YOURDISCORDBOTTOKEN' \
--restart unless-stopped \
keinnerd/makethebotonline:latest
GAMENAME
= It show what the Bot "plays" - e.g. your Website
DISCORDTOKEN
= The Bot-Token for your Bot
Create a Github Issue or visit our Website!
This are my first steps with creating dockerimages so any contribution to expand my knowledge is welcome !
This project is under the MIT License.