Skip to content

Commit b51e19f

Browse files
committed
fix(implement:Automod): Removed , that was cusing a SyntaxError
1 parent 98557b2 commit b51e19f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discord/automod.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ def __init__(self,
331331
self.trigger_metadata: AutoModTriggerMetadata = AutoModTriggerMetadata.from_dict(data['trigger_metadata'])
332332
self.actions: List[AutoModAction] = [AutoModAction.from_dict(action) for action in data['actions']]
333333
self.enabled: bool = data['enabled']
334-
self._exempt_roles: SnowflakeList = SnowflakeList(map(int, data['exempt_roles'])),
335-
self._exempt_channels: SnowflakeList = SnowflakeList(map(int, data['exempt_channels'])),
334+
self._exempt_roles: SnowflakeList = SnowflakeList(map(int, data['exempt_roles']))
335+
self._exempt_channels: SnowflakeList = SnowflakeList(map(int, data['exempt_channels']))
336336

337337
def __repr__(self) -> str:
338338
return f'<AutoModRule "{self.name}" guild_id={self.guild.id} creator_id={self.creator_id}>'

0 commit comments

Comments
 (0)