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