Method: Discordrb::Light::LightServer#bot_is_owner

Defined in:
lib/discordrb/light/data.rb

#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