Method: Discordrb::Webhook#type
- Defined in:
- lib/discordrb/data/webhook.rb
#type ⇒ Integer (readonly)
Returns the webhook's type (1: Incoming, 2: Channel Follower).
27 28 29 |
# File 'lib/discordrb/data/webhook.rb', line 27 def type @type end |