Fix [p]helpset usemenus disable (#5907)

This commit is contained in:
TrustyJAID 2022-11-15 21:56:56 -07:00 committed by GitHub
parent 6023f9015c
commit 0580213cb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3760,7 +3760,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
if use_menus == "reactions": if use_menus == "reactions":
msg = _("Help will use reaction menus.") msg = _("Help will use reaction menus.")
await ctx.bot._config.help.use_menus.set(1) await ctx.bot._config.help.use_menus.set(1)
if use_menus == "disabled": if use_menus == "disable":
msg = _("Help will not use menus.") msg = _("Help will not use menus.")
await ctx.bot._config.help.use_menus.set(0) await ctx.bot._config.help.use_menus.set(0)