Skip to content

Commit b30db5b

Browse files
committed
Fix for Context Menu Permissions.
1 parent c6ed610 commit b30db5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/commands/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ def __init__(self, func: Callable, *args, **kwargs) -> None:
678678
self.validate_parameters()
679679

680680
# Context Commands don't have permissions
681-
self.permissions = None
681+
self.permissions = []
682682

683683
def validate_parameters(self):
684684
params = self._get_signature_parameters()

0 commit comments

Comments
 (0)