def guilds_bans_list(self, guild): r = self.http(Routes.GUILDS_BANS_LIST, dict(guild=guild)) return GuildBan.create_hash(self.client, 'user.id', r.json())
def guilds_bans_get(self, guild, member): r = self.http(Routes.GUILDS_BANS_GET, dict(guild=guild, member=member)) return GuildBan.create(self.client, r.json())