Class: Discordrb::Light::LightServer

Inherits:
UltraLightServer show all
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

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.



48
49
50
# File 'lib/discordrb/light/data.rb', line 48

def bot_is_owner
  @bot_is_owner
end

#bot_permissionsDiscordrb::Permissions (readonly)

Returns the permissions the LightBot has on this server.

Returns:



52
53
54
# File 'lib/discordrb/light/data.rb', line 52

def bot_permissions
  @bot_permissions
end