Browse Source

Fix typo in Guild.invites

pull/452/head
Rapptz 8 years ago
parent
commit
5e201be792
  1. 2
      discord/guild.py

2
discord/guild.py

@ -730,7 +730,7 @@ class Guild(Hashable):
The list of invites that are currently active.
"""
data = yield from self._state.http.invites_from(guild.id)
data = yield from self._state.http.invites_from(self.id)
result = []
for invite in data:
channel = self.get_channel(int(invite['channel']['id']))

Loading…
Cancel
Save