Skip to content

Commit 1948b86

Browse files
committed
correct help cmd
1 parent 6ab78e3 commit 1948b86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cogs/utility.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,12 +1178,12 @@ def get_level(perm_level):
11781178
async def oauth(self, ctx):
11791179
"""Commands relating to Logviewer oauth2 login authentication."""
11801180
cmd = self.bot.get_command('help')
1181-
await ctx.invoke(cmd, command='config')
1181+
await ctx.invoke(cmd, command='oauth')
11821182

1183-
@oauth.command()
1183+
@oauth.group(invoke_without_command=True)
11841184
@checks.has_permissions(PermissionLevel.OWNER)
11851185
async def whitelist(self, ctx, target: Union[Member, Role]):
1186-
"""Whitelist or un-whitelist a user or role from having access to logs."""
1186+
"""Globally whitelist or un-whitelist a user or role to have access to logs."""
11871187
whitelisted = self.bot.config['oauth_whitelist']
11881188

11891189
if target.id in whitelisted:

0 commit comments

Comments
 (0)