From 5e201be79299b8e821c6da6746094bbd0369bd11 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 9 Jan 2017 03:13:57 -0500 Subject: [PATCH] Fix typo in Guild.invites --- discord/guild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/guild.py b/discord/guild.py index a09508a98..d58c32760 100644 --- a/discord/guild.py +++ b/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']))