Get a webhook https://discordapp.com/developers/docs/resources/webhook#get-webhook
9 10 11 12 13 14 15 16 17
# File 'lib/discordrb/api/webhook.rb', line 9 def webhook(token, webhook_id) Discordrb::API.request( :webhooks_wid, nil, :get, "#{Discordrb::API.api_base}/webhooks/#{webhook_id}", Authorization: token ) end