def webhooks
      raise 'Tried to request webhooks from a non-server channel' unless server

      webhooks = JSON.parse(API::Channel.webhooks(@bot.token, @id))
      webhooks.map { |webhook_data| Webhook.new(webhook_data, @bot) }
    end
def webhooks
      raise 'Tried to request webhooks from a non-server channel' unless server

      webhooks = JSON.parse(API::Channel.webhooks(@bot.token, @id))
      webhooks.map { |webhook_data| Webhook.new(webhook_data, @bot) }
    end
Requests a list of Webhooks on the channel.
 @return [Array<Webhook>] webhooks on the channel.