Commit Graph

7 Commits

Author SHA1 Message Date
9d8ff8e61d Remove bot import from __init__.py
Don't remember when this was added. We don't want it.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-24 20:31:23 -07:00
82e50f86d6 Add graceful exits
This sets up a set of ropes and pulleys that signal the `Bot.keepalive`
function to clean things up after a quit signal has been sent. This
allows plugins to define an `on_unload` function to save any important
datas on intentional exit.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-24 19:16:15 -07:00
ffb2d4204e Move message size limit logic to base plugin
This is beneficial for all plugins so the bot doesn't accidentally
spam things because the plugin writer didn't check their inputs

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-23 21:11:04 -07:00
9d144924e9 Add channels to server config
This wasn't being loaded before, now it is.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-23 20:55:45 -07:00
87ea9e358f Remove pycache that accidentally got added
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-23 20:52:33 -07:00
cf770af2ff Add log messages for join, part, and kick
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-23 19:00:38 -07:00
a901c2351a Initial commit with functional framework(!) and example plugin
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-23 18:47:28 -07:00