Fix typo in Guild.invites
This commit is contained in:
parent
3780943d0a
commit
5e201be792
@ -730,7 +730,7 @@ class Guild(Hashable):
|
|||||||
The list of invites that are currently active.
|
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 = []
|
result = []
|
||||||
for invite in data:
|
for invite in data:
|
||||||
channel = self.get_channel(int(invite['channel']['id']))
|
channel = self.get_channel(int(invite['channel']['id']))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user