class Discordrb::InviteServer
A server referenced to by an invite
Attributes
name[R]
@return [String] this server’s name.
splash_hash[R]
@return [String, nil] the hash of the server’s invite splash screen (for partnered servers) or nil if none is
present
Public Class Methods
new(data, bot)
click to toggle source
@!visibility private
# File lib/discordrb/data/invite.rb, line 36 def initialize(data, bot) @bot = bot @id = data['id'].to_i @name = data['name'] @splash_hash = data['splash_hash'] end