[ ] Allow reload command to support 1 optional argument of a plugin name.
[ ] Since the reload command is part of the core, do not reload it while reloading (add default argument such as Plugin.parse(reload=false)).
[ ] Wrap plugin loading in begin/rescue block to prevent erroneous plugins from crashing the bot. The bot should crash on initial startup to alert the maintainer of a faulty plugin. However, during a reload, it should be more resilient. Overriding the default parameter value for Plugin.parse(true).
reload
command toplugins.rb
.reload
command to support 1 optional argument of a plugin name.reload
command is part of the core, do not reload it while reloading (add default argument such asPlugin.parse(reload=false)
).begin
/rescue
block to prevent erroneous plugins from crashing the bot. The bot should crash on initial startup to alert the maintainer of a faulty plugin. However, during a reload, it should be more resilient. Overriding the default parameter value forPlugin.parse(true)
.pluglist
,plugload <plugin>
, andplugunload <plugin>
core commands.quote
relies onsqlite
.cfg/
with a YAML file matching the name of the plugin.