Skip to content

Commit

Permalink
Add default permissions to overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
4Kaylum committed Jun 21, 2023
1 parent d91a74f commit d9a63bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions novus/models/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ def __init__(
id: int,
type: PermissionOverwriteType,
*,
allow: Permissions,
deny: Permissions):
allow: Permissions = Permissions(),
deny: Permissions = Permissions()):
self.id = id
self.type = type
self.allow = allow
Expand Down

0 comments on commit d9a63bd

Please sign in to comment.