This website works better with JavaScript.
Home
Explore
Help
Sign In
roxxers
/
roxbot
mirror of
https://github.com/roxxers/roxbot
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
38
Wiki
Activity
Browse Source
fixed bug with check permissions
tags/v2.1.0
Roxie Gibson
5 years ago
parent
4f80a99507
commit
0fed76f216
1 changed files
with
2 additions
and
1 deletions
Split View
Show Diff Stats
+2
-1
roxbot/utils.py
+ 2
- 1
roxbot/utils.py
View File
@@ -124,8 +124,9 @@ def has_permissions(ctx, **perms):
if not missing:
return True
return False
raise commands.MissingPermissions(missing)
#
raise commands.MissingPermissions(missing)
def has_permissions_or_owner(ctx, **perms):
Write
Preview
Loading…
Cancel
Save