fetchGuildWebhooks method
Fetch the webhooks in a guild.
Implementation
Future<List<Webhook>> fetchGuildWebhooks(Snowflake guildId) async {
final route = HttpRoute()
..guilds(id: guildId.toString())
..webhooks();
final request = BasicRequest(route);
final response = await client.httpHandler.executeSafe(request);
final webhooks = parseMany(response.jsonBody as List, parse);
webhooks.forEach(client.updateCacheWith);
return webhooks;
}