thilina27 / Div2KnownIssuesDiscord

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Division 2 Known Issues Discord Bot

Simple Discord bot to get informations from Division 2 knows issues and post them in to a specific channel within discord server.

Requirements

  1. Python 3
  2. Discordpy
  3. dotenv

How To

  1. Create discord bot and get a Token. 1
  2. Add bot to the server. With nesessary permissions. 2
  3. Clone this repository.
  4. Get trello api key and token. 3
  5. Get channel id from discord. (bot will post meessages in to that channel)
  6. Create a file named .env as the same folder that has the main.py.
  7. 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 **

About

License:MIT License


Languages

Language:Python 100.0%