1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-24 06:27:27 +00:00

Add default help command

This commit is contained in:
Myned 2022-02-22 22:16:02 -06:00
parent 10ef4f430b
commit 7a0d1e0e36
No known key found for this signature in database
GPG key ID: 33790F979F7A28B8

6
run.py
View file

@ -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)