File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1178,12 +1178,12 @@ def get_level(perm_level):
1178
1178
async def oauth (self , ctx ):
1179
1179
"""Commands relating to Logviewer oauth2 login authentication."""
1180
1180
cmd = self .bot .get_command ('help' )
1181
- await ctx .invoke (cmd , command = 'config ' )
1181
+ await ctx .invoke (cmd , command = 'oauth ' )
1182
1182
1183
- @oauth .command ( )
1183
+ @oauth .group ( invoke_without_command = True )
1184
1184
@checks .has_permissions (PermissionLevel .OWNER )
1185
1185
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."""
1187
1187
whitelisted = self .bot .config ['oauth_whitelist' ]
1188
1188
1189
1189
if target .id in whitelisted :
You can’t perform that action at this time.
0 commit comments