Skip to content

Bobbadillio/bottrosian

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bottrosian: A successor to Bot-vinnik

What's the history of this bot?

This bot was created for the ChessDojo discord community based on a guide to hosting python bots on Heroku. (see the forked repository)

What are the prerequisites for this guide?

You must have an account for:

How do I create a bot and get a bot token?

  • Create an application in the developer portal by clicking here
  • Open up your new application and click 'Add Bot' under the Bot settings to create your bot.
  • After creating the bot, click the 'Copy' button under the title Token. Take note of your token as you will need it later.

How to fork the repository and set it up to work with Heroku?

  • Fork a copy of this repository by clicking the 'Fork' on the upper right-hand.
  • Create an application for Heroku by clicking here.
  • Under 'Deploy', do the following:
    • Deployment Method => Connect your GitHub (note: heroku does not support GitHub as of 4/25 due to a security breach)
    • App connected to GitHub => Search for the forked repository
    • Automatic Deploy => Enable Automatic Deploy (to redeploy after every commit)
  • Under 'Settings', click on 'Reveal Config Vars' and enter the following:
    • KEY => DISCORD_TOKEN
    • VALUE => (Enter the bot token that you copied from the developer portal)
    • Click the 'Add' button after entering all of this information.
  • Under 'Resources', do the following:
    • Click on the 'Pencil' icon.
    • Switch the worker from off to on.
    • Click 'Confirm' to finalize the decision.
    • NOTE: You are allocated 550 free Dyno hours, which will not last the entire month. However, if you provide a credit card to verify your identity, you are given an additional 450 hours, which will allow your bot to run indefinitely.

Bottrosian TO-DO LIST

  • update the PostgresManager class to optionally return a single value rather than a list of tuples returned by the query
  • create a daily leaderboard update&post
  • track user progress
  • make profile result prettier
  • find a better way to test locally
  • find a way to make update set roles for users who didn't send the command

About

Starter kit for hosting a Discord bot on Heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Procfile 0.2%