Async::DiscordSourceAsyncDiscordGuild

class Guild

Represents a guild in Discord.

Definitions

def channels

Signature

returns Channels

a collection of channels in this guild.

Implementation

def channels
	Channels.new(@resource.with(path: "channels"))
end

def id

The unique identifier for this guild.

Implementation

def id
	self.value[:id]
end