class Discordrb::Light::UltraLightServer

A server that only has an icon, a name, and an ID associated with it, like for example an integration's server.

Public Class Methods

new(data, bot) click to toggle source

@!visibility private

# File lib/discordrb/light/data.rb, line 35
def initialize(data, bot)
  @bot = bot

  @id = data['id'].to_i

  @name = data['name']
  @icon_id = data['icon']
end