Example #1
0
 def channels_invites_list(self, channel):
     r = self.http(Routes.CHANNELS_INVITES_LIST, dict(channel=channel))
     return Invite.create_map(self.client, r.json())
Example #2
0
 def guilds_invites_list(self, guild):
     r = self.http(Routes.GUILDS_INVITES_LIST, dict(guild=guild))
     return Invite.create_map(self.client, r.json())