예제 #1
0
 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())
예제 #2
0
파일: client.py 프로젝트: ThaTiemsz/disco
 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())