mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 00:07:51 +00:00
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.
|
||||
"""
|
||||
|
||||
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…
x
Reference in New Issue
Block a user