Discord Bot controllable from django website with oauth2
Demo (Takes 30 sec to start)
- Basic
- Ping - Ping Bot
- Fun
- Cat - Return Random Cat Picture
- Dog - Return Random Dog Picture
- Comeback {TargetUser} - Return Random Comeback
- Inspire - Return Inspirational Qoute
- Uncategorised
- New Member Welcome Message
- Create Discord Bot Application
- Within OAuth2 tab add redirect url eg. https://hazzahsbot.herokuapp.com/oauth2/login/redirect
- Fork repo
- Create Heroku App
- In settings tab add the following config vars:
- DISABLE_COLLECTSTATIC = 1
- DiscordBotToken = (Discord Bot Token)
- SECRET_KEY = (Random Security key for django)
- CLIENT_ID = discord bot client id
- CLIENT_SECRET = discord bot client secret
- DOMAIN = Domain to use eg. hazzahsbot.herokuapp.com
- In deploy tab select connect to github and select repo
- At bottom of deploy tab select Deploy Branch
- In top right heroku click more > run console then 'python manage.py migrate'
- At bottom of deploy tab select Deploy Branch
- In the resource tab of heroku, switch on 'worker python bot.py'