HarryLudemann / Django-Discord

Discord bot controllable by a django website deployable to heroku free tier.

Home Page:https://hazzahsbot.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django-Discord

Discord Bot controllable from django website with oauth2
Demo (Takes 30 sec to start)

Bot Features:

  1. Basic
    • Ping - Ping Bot
  2. Fun
    • Cat - Return Random Cat Picture
    • Dog - Return Random Dog Picture
    • Comeback {TargetUser} - Return Random Comeback
    • Inspire - Return Inspirational Qoute
  3. Uncategorised
    • New Member Welcome Message

Setup:

  1. Create Discord Bot Application
  2. Within OAuth2 tab add redirect url eg. https://hazzahsbot.herokuapp.com/oauth2/login/redirect
  3. Fork repo
  4. Create Heroku App
  5. 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
  6. In deploy tab select connect to github and select repo
  7. At bottom of deploy tab select Deploy Branch
  8. In top right heroku click more > run console then 'python manage.py migrate'
  9. At bottom of deploy tab select Deploy Branch
  10. In the resource tab of heroku, switch on 'worker python bot.py'

forthebadge made-with-python

About

Discord bot controllable by a django website deployable to heroku free tier.

https://hazzahsbot.herokuapp.com/

License:MIT License


Languages

Language:JavaScript 45.9%Language:CSS 40.1%Language:Python 9.7%Language:HTML 4.3%Language:Procfile 0.0%