Class: Rubycord::Light::LightServer

Inherits:
UltraLightServer show all
Defined in:
lib/rubycord/light/data.rb

Overview

Represents a light server which only has a fraction of the properties of any other server.

Instance Attribute Summary collapse

Attributes included from ServerAttributes

#icon_id, #name

Attributes included from IDObject

#id

Method Summary

Methods included from ServerAttributes

#icon_url

Methods included from IDObject

#==, #creation_time, synthesise

Instance Attribute Details

#bot_is_ownertrue, false (readonly) Also known as: bot_is_owner?

Returns whether or not the LightBot this server belongs to is the owner of the server.

Returns:

  • (true, false)

    whether or not the LightBot this server belongs to is the owner of the server.



46
47
48
# File 'lib/rubycord/light/data.rb', line 46

def bot_is_owner
  @bot_is_owner
end

#bot_permissionsRubycord::Permissions (readonly)

Returns the permissions the LightBot has on this server.

Returns:



50
51
52
# File 'lib/rubycord/light/data.rb', line 50

def bot_permissions
  @bot_permissions
end