Class: Discorb::Webhook::IncomingWebhook

Inherits:
Discorb::Webhook show all
Defined in:
lib/discorb/webhook.rb

Overview

Represents a bot created webhook.

Instance Attribute Summary collapse

Attributes inherited from Discorb::Webhook

#application_id, #avatar, #channel_id, #guild_id, #name, #token, #user

Method Summary

Methods inherited from Discorb::Webhook

#delete!, #delete_message!, #edit, #edit_message, from_url, #inspect, new, #post

Instance Attribute Details

#url -> String (readonly)

Returns The URL of the webhook.

Returns:

  • (String)

    The URL of the webhook.



# File 'lib/discorb/webhook.rb', line 230