Skip to content

bloat free framework for discord bots that uses contained files for individual feature plugins that can be modified and reloaded on the fly

License

Notifications You must be signed in to change notification settings

kurisufriend/modular-discord-bot-fw

Repository files navigation

modular-discord-bot-fw

framework for discord bots that uses contained files for individual feature plugins that can be modified and reloaded on the fly

basic structure:

  • client class has implementations for handling opcodes
    • event response is up to the client (!!)
    • this lets us expose events for plugins to hook into, but keeps core API interaction defined in-class
    • any and all bot features should be useable via independent feature plugins
      • these are dynamically found and run, so they can be hotloaded, modified, etc. without disconnecting or restarting the whole bot session

todo board

core:

  • basic rate limiting
  • initial presence in config
  • full REST api implementation
  • relative/nonreal escape values for the config's plugin_path

plugins:

  • save session config to file
    • re: runtime modification of authenticated users and such

done:

  • plugin manager & hook integration
  • default plugins so the bot does something out of the box
    • plugin reloading, user (command) authentication, etc. will also probably be written in plugin form
  • take config as cli param
  • plugins need to be asynchronously run (or something)
  • make sure broken sockets are properly addressed with a resume or reconnect
  • split the REST API stuff up so they're not in client

About

bloat free framework for discord bots that uses contained files for individual feature plugins that can be modified and reloaded on the fly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages