Beispiel #1
0
 def guilds_webhooks_list(self, guild):
     r = self.http(Routes.GUILDS_WEBHOOKS_LIST, dict(guild=guild))
     return Webhook.create_map(self.client, r.json())
Beispiel #2
0
 def channels_webhooks_list(self, channel):
     r = self.http(Routes.CHANNELS_WEBHOOKS_LIST, dict(channel=channel))
     return Webhook.create_map(self.client, r.json())