autohelp changes. (#1836)

This commit is contained in:
Michael H
2018-07-11 19:23:18 -04:00
committed by Kowlin
parent 43cc3c40f3
commit 1c2196f78f
19 changed files with 38 additions and 38 deletions

View File

@@ -137,7 +137,7 @@ class Group(Command, commands.Group):
"""
def __init__(self, *args, **kwargs):
self.autohelp = kwargs.pop("autohelp", False)
self.autohelp = kwargs.pop("autohelp", True)
super().__init__(*args, **kwargs)
async def invoke(self, ctx):

View File

@@ -321,7 +321,7 @@ class Core(CoreLogic):
return fmt.format(d=days, h=hours, m=minutes, s=seconds)
@commands.group(autohelp=True)
@commands.group()
async def embedset(self, ctx: commands.Context):
"""
Commands for toggling embeds on or off.
@@ -598,7 +598,7 @@ class Core(CoreLogic):
pass
await ctx.bot.shutdown(restart=True)
@commands.group(name="set", autohelp=True)
@commands.group(name="set")
async def _set(self, ctx):
"""Changes Red's settings"""
if ctx.invoked_subcommand is None:
@@ -981,7 +981,7 @@ class Core(CoreLogic):
ctx.bot.disable_sentry()
await ctx.send(_("Done. Sentry logging is now disabled."))
@commands.group(autohelp=True)
@commands.group()
@checks.is_owner()
async def helpset(self, ctx: commands.Context):
"""Manage settings for the help command."""
@@ -1264,7 +1264,7 @@ class Core(CoreLogic):
else:
await ctx.send(_("Message delivered to {}").format(destination))
@commands.group(autohelp=True)
@commands.group()
@checks.is_owner()
async def whitelist(self, ctx):
"""
@@ -1322,7 +1322,7 @@ class Core(CoreLogic):
await ctx.bot.db.whitelist.set([])
await ctx.send(_("Whitelist has been cleared."))
@commands.group(autohelp=True)
@commands.group()
@checks.is_owner()
async def blacklist(self, ctx):
"""