mirror of
https://github.com/myned/modufur.git
synced 2024-12-23 22:27:27 +00:00
WIP Help command
This commit is contained in:
parent
b8d12097ca
commit
01b20b5ad0
1 changed files with 18 additions and 0 deletions
18
commands/help.py
Normal file
18
commands/help.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
import lightbulb
|
||||
|
||||
|
||||
plugin = lightbulb.Plugin("help")
|
||||
|
||||
|
||||
class Help(lightbulb.BaseHelpCommand):
|
||||
pass
|
||||
|
||||
|
||||
def load(bot):
|
||||
bot.d.old_help_command = bot.help_command
|
||||
bot.help_command = Help(bot)
|
||||
|
||||
|
||||
def unload(bot):
|
||||
bot.help_command = bot.d.old_help_command
|
||||
del bot.d.old_help_command
|
Loading…
Reference in a new issue