mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +00:00
Add default help command
This commit is contained in:
parent
10ef4f430b
commit
7a0d1e0e36
1 changed files with 5 additions and 1 deletions
6
run.py
6
run.py
|
@ -14,7 +14,11 @@ if os.name != "nt":
|
||||||
|
|
||||||
uvloop.install()
|
uvloop.install()
|
||||||
|
|
||||||
bot = lightbulb.BotApp(token=c.config["token"], default_enabled_guilds=c.config["guilds"])
|
bot = lightbulb.BotApp(
|
||||||
|
token=c.config["token"],
|
||||||
|
default_enabled_guilds=c.config["guilds"],
|
||||||
|
help_slash_command=True,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
@bot.listen(lightbulb.CommandErrorEvent)
|
@bot.listen(lightbulb.CommandErrorEvent)
|
||||||
|
|
Loading…
Reference in a new issue