Skip to content

Commit 06b0656

Browse files
committed
fix(implement:Automod): Removed / that was causing a SyntaxError on 3.7
1 parent b51e19f commit 06b0656

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/interactions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def __init__(self, *, state, channel, data, interaction):
6161
self.channel = channel
6262
self._update(data)
6363

64-
def _update(self, data, /):
64+
def _update(self, data):
6565
self.reactions = [Reaction(message=self, data=d) for d in data.get('reactions', [])]
6666
self.attachments = [Attachment(data=a, state=self._state) for a in data.get('attachments', [])]
6767
self.embeds = [Embed.from_dict(a) for a in data.get('embeds', [])]

0 commit comments

Comments
 (0)