Simple Discord bot to get informations from Division 2 knows issues and post them in to a specific channel within discord server.
- Python 3
- Discordpy
- dotenv
- Create discord bot and get a Token. 1
- Add bot to the server. With nesessary permissions. 2
- Clone this repository.
- Get trello api key and token. 3
- Get channel id from discord. (bot will post meessages in to that channel)
- Create a file named
.env
as the same folder that has themain.py
. - Add the following details to the
.env
file.
DISCORD_TOKEN=<discord bot token>
KEY=<trello key>
DTOKEN=<trello token>
TARGET=<target channel ID>
- If need to change posting time interval see
line 21, main.py
- Need a help, or any suggestions post an issue here.
** NOTE : This code is not fully optimized **