Class: Discordrb::Light::LightServer
- Inherits:
-
UltraLightServer
- Object
- UltraLightServer
- Discordrb::Light::LightServer
- Defined in:
- lib/discordrb/light/data.rb
Overview
Represents a light server which only has a fraction of the properties of any other server.
Instance Attribute Summary collapse
-
#bot_is_owner ⇒ true, false
(also: #bot_is_owner?)
readonly
Whether or not the LightBot this server belongs to is the owner of the server.
-
#bot_permissions ⇒ Discordrb::Permissions
readonly
The permissions the LightBot has on this server.
Attributes included from ServerAttributes
Attributes included from IDObject
Method Summary
Methods included from ServerAttributes
Methods included from IDObject
Instance Attribute Details
#bot_is_owner ⇒ true, false (readonly) Also known as: bot_is_owner?
Returns whether or not the LightBot this server belongs to is the owner of the server.
48 49 50 |
# File 'lib/discordrb/light/data.rb', line 48 def bot_is_owner @bot_is_owner end |
#bot_permissions ⇒ Discordrb::Permissions (readonly)
Returns the permissions the LightBot has on this server.
52 53 54 |
# File 'lib/discordrb/light/data.rb', line 52 def end |