Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 769 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 769 Bytes

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.