Modmail v0.1.0 - 2021-08-13
Pre-release
Pre-release
onerandomusername
released this
13 Aug 17:50
·
443 commits
to main
since this release
Added
- Bot modes to determine behavior. Multiple can be applied at once. (#43)
PROD
: the default mode, no dev extensions or dev plugins loadDEVELOP
: the bot developer mode, most useful for people adding features to modmail- Enables the extension_manager extension.
PLUGIN_DEV
: the plugin developer mode, useful for enabling plugin specific features- This is not used yet.
- Extension loading system (#43)
- scans for extensions in the
modmail/extensions
folder and loads them if they are of the right format. - all extensions must be loadable as a module, which means they must have
__init__.py
files in their directories.
- scans for extensions in the
- Plugin loading system (#43)
- scans for plugins in the
modmail/plugins
folder and loads them. - Unlike extensions, plugins and their respective folders do not need to have
__init__.py
files and are allowed to be symlinks.
- scans for plugins in the
- Extension management commands (#43)
- load, reload, unload, list, refresh commands for dealing with extensions
- Run the
ext
command for more details when bot is inDEVELOP
mode.
- Plugin management commands (#43)
- load, reload, unload, list, refresh commands for dealing with plugins
- Run the
plugins
command for more details.
- Extension metadata (#43)
- used to determine if a cog should load or not depending on the bot mode
- Plugin helper file (#43)
modmail/plugin_helpers.py
contains several helpers for making pluginsPluginCog
ModmailBot
, imported frommodmail.bot
ModmailLogger
, imported frommodmail.log
- Meta Cog (#43)
- NOTE: The commands in this cog are not stabilized yet and should not be relied upon.
- Prefix command for getting the set prefix. Most useful by mentioning the bot.
- Uptime command which tells the end user how long the bot has been online.
- Ping command to see the bot latency.
- Guide on how to contribute to modmail, see CONTRIBUTING.md
- Start a Changelog
Fixed
- Make the bot http_session within an event loop.