Skip to content

Inherits
Object

Class Guild

Represents a guild.

Properties


Id

Gets the id.
Declaration

public int Id {get; }

Property Value

Type Description
Int32 The guild's id.

Name

Gets or sets the name.
Declaration

public int Name {get; set; }

Property Value

Type Description
Int32 The name of the guild.

Methods


GetChannel(System.Int32)

Gets a channel in the guild with the given ID
Declaration

public Channel GetChannel(int channelId)

Parameters

Type Name Description
Int32 channelId Id of the channel to look for.

Returns

Type Description
Channel The channel found