1
0
Fork 0
mirror of synced 2024-06-02 18:54:33 +12:00
Go to file
2016-10-01 22:40:49 -05:00
cogs Updated readme/sample config 2016-10-01 22:40:49 -05:00
.gitignore Added cert to gitignore 2016-09-24 00:42:02 -05:00
bot.py The command passed to the event was the parent command, and not the command that was actually invoked, for subcommands. We want that for our purposes, so this has been udpated to match 2016-10-01 00:40:03 -05:00
config.yml.sample Updated readme/sample config 2016-10-01 22:40:49 -05:00
README.md Updated readme/sample config 2016-10-01 22:40:49 -05:00

Bonfire

This is for a Discord bot using the discord.py wrapper made for fun, used in a couple of my own servers.

If you'd like to add this bot to one of your own servers, please visit the following URL: https://discordapp.com/oauth2/authorize?client_id=183748889814237186&scope=bot&permissions=0

This requires the discord.py library, as well as all of it's dependencies. https://github.com/Rapptz/discord.py

I also use the pendulum library, which can be installed using pip.

pip install pendulum

The only required file to modify would be the config.yml.sample file. The entries are as follows:

  • bot_token: The token that can be retrieved from the bot's application page
  • owner_id: This is your ID, which can be retrieved by right clicking your name in the discord application, when developer mode is on
  • description: Self explanotory, the description for the bot
  • command_prefix: A list of the prefixes you want the bot to respond to, if none is provided in the config file ! will be used
  • default_status: The default status to use when the bot is booted up, which will populate the "game" that the bot is playing
  • discord_bots_key: The key for the bots.discord.pw site, if you don't have a key just leave it blank, it should fail and log the failure
  • carbon_key: The key used for the carbonitex site
  • twitch_key: The twitch token that is used for the API calls
  • shard_count: This is the number of shards the bot is split over. 1 needs to be used if the bot is not being sharded
  • shard_id: This will be the ID of the shard in particular, 0 if sharding is not used
  • db_*: This is the information for the rethinkdb database. The cert is the certificate used for driver connections