示例#1
0
文件: client.py 项目: sgtlaggy/disco
 def guilds_webhooks_list(self, guild):
     r = self.http(Routes.GUILDS_WEBHOOKS_LIST, dict(guild=guild))
     return Webhook.create_map(self.client, r.json())
示例#2
0
文件: client.py 项目: sgtlaggy/disco
 def channels_webhooks_list(self, channel):
     r = self.http(Routes.CHANNELS_WEBHOOKS_LIST, dict(channel=channel))
     return Webhook.create_map(self.client, r.json())