Class: Discorb::Webhook::FollowerWebhook::Guild

Inherits:
DiscordModel
  • Object
show all
Defined in:
lib/discorb/webhook.rb

Overview

Represents a guild of follower webhook.

Instance Attribute Summary collapse

Method Summary

Methods inherited from DiscordModel

#==, #eql?, #hash

Instance Attribute Details

#icon -> Discorb::Asset (readonly)

Returns The icon of the guild.

Returns:



257
258
259
# File 'lib/discorb/webhook.rb', line 257

def icon
  @icon
end

#id -> Discorb::Snowflake (readonly)

Returns The ID of the guild.

Returns:



253
254
255
# File 'lib/discorb/webhook.rb', line 253

def id
  @id
end

#name -> String (readonly)

Returns The name of the guild.

Returns:

  • (String)

    The name of the guild.



255
256
257
# File 'lib/discorb/webhook.rb', line 255

def name
  @name
end