Class: Discorb::Webhook::FollowerWebhook

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

Overview

Represents a webhook of channel following.

Defined Under Namespace

Classes: Channel, Guild

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

#source_channel -> Discorb::Channel, Discorb::Webhook::FollowerWebhook::Channel (readonly)

Represents a source channel of follower webhook.

Returns:



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

#source_guild -> Discorb::Guild, Discorb::Webhook::FollowerWebhook::Guild (readonly)

Represents a source guild of follower webhook.

Returns:



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