Skip to content
/ discord-bot Public template

Template for starting your own discord bot in python using a hooking system

License

Notifications You must be signed in to change notification settings

Mikk155/discord-bot

Repository files navigation

discord-bot

Template discord bot that supports a "Plugin" implementation with a hooking system

pip install -r requirements.txt
  • When adding third-party library make sure to include them in main so it's accesible by all plugins

Plugin system

Create your python script in within ./plugins/ folder

Import main:

from plugins.main import *

Register your plugin in plugins.json following the instructions provided by the json schema

  • Create a token.txt file in the main folder and put in it your Discord Application BOT Token
    • Alternativelly you can create a dev.txt token for running the bot with the -dev argument

Pull requests are welcome and encouraged.