Class: RubyCord::Guild::VoiceRegion
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- RubyCord::Guild::VoiceRegion
- Defined in:
- lib/rubycord/guild/voice_region.rb
Instance Attribute Summary collapse
-
#custom ⇒ Boolean
(also: #custom?)
readonly
Whether the voice region is custom.
-
#deprecated ⇒ Boolean
(also: #deprecated?)
readonly
Whether the voice region is deprecated.
-
#id ⇒ RubyCord::Snowflake
readonly
The ID of the voice region.
-
#name ⇒ String
readonly
The name of the voice region.
-
#optimal ⇒ Boolean
(also: #optimal?)
readonly
Whether the voice region is optimal.
-
#vip ⇒ Boolean
(also: #vip?)
readonly
Whether the voice region is VIP.
Method Summary
Methods inherited from DiscordModel
Instance Attribute Details
#custom ⇒ Boolean (readonly) Also known as: custom?
Returns Whether the voice region is custom.
23 24 25 |
# File 'lib/rubycord/guild/voice_region.rb', line 23 def custom @custom end |
#deprecated ⇒ Boolean (readonly) Also known as: deprecated?
Returns Whether the voice region is deprecated.
20 21 22 |
# File 'lib/rubycord/guild/voice_region.rb', line 20 def deprecated @deprecated end |
#id ⇒ RubyCord::Snowflake (readonly)
Returns The ID of the voice region.
10 11 12 |
# File 'lib/rubycord/guild/voice_region.rb', line 10 def id @id end |
#name ⇒ String (readonly)
Returns The name of the voice region.
12 13 14 |
# File 'lib/rubycord/guild/voice_region.rb', line 12 def name @name end |
#optimal ⇒ Boolean (readonly) Also known as: optimal?
Returns Whether the voice region is optimal.
17 18 19 |
# File 'lib/rubycord/guild/voice_region.rb', line 17 def optimal @optimal end |
#vip ⇒ Boolean (readonly) Also known as: vip?
Returns Whether the voice region is VIP.
14 15 16 |
# File 'lib/rubycord/guild/voice_region.rb', line 14 def vip @vip end |