MinimalGuild

Namespace: Discord

Properties

Name

Description

Type

Id

ID of the guild

ulong

Methods

Constructor

Parameters

Name

Description

Type

guildId

ID of the guild that this object will control

ulong

Modify

Modifies the guild.

Parameters

Name

Description

Type

properties

What you want to change

GuildProperties

Delete

Deletes the server.

Leave

Leaves the server.

Parameters

Name

Description

Type

lurking

Set this to true if you're "lurking" this guild

bool?

AcknowledgeMessages

"Acknowledges" all messages in that guild.

ChangeClientNickname

Changes the client's user's nickname for that guild.

Parameters

Name

Description

Type

nickname

Your client's user's new nickname

string

ModifyClientSettings

Modifies the client's own settings for that server.

Parameters

Name

Description

Type

properties

What you want to change

ClientGuildProperties

Returns

GetTemplates

Gets all templates for that guild.

Return

A list of

CreateTemplate

Creates a new template for that guild.

Parameters

Name

Description

Type

name

The template's name

string

description

The template's description

string

Returns

DeleteTemplate

Deletes a template for that guild.

Parameters

Name

Description

Type

templateCode

The target template's code

string

Returns

SetVanityUrl

Sets the guild's vanity invite (example: 'discord.gg/fortnite').

Parameters

Name

Description

Type

vanityCode

Your vanity code. Example: 'fortnite'

string

GetWelcomeScreen

Gets the guild's welcome screen.

Returns

ModifyWelcomeScreen

Modifies the guild's welcome screen.

Parameters

Name

Description

Type

properties

The values to change

WelcomeScreenProperties

Returns

GetChannels

Gets all of that guild's channels.

Returns

A list of

CreateChannel

Creates a new channel in the guild.

Parameters

Name

Description

Type

name

Name for the channel

string

type

The type of channel you want to create

ChannelType

parentId

If you want the channel to be under a category, input it's ID here

ulong?

Returns

GetEmojis

Gets all that guild's emojis.

Returns

A list of

GetEmoji

Gets a specific emoji from that guild.

Returns

CreateEmoji

Creates a new emoji in that guild.

Parameters

Name

Description

Type

properties

Attributes for the emoji

EmojiProperties

Returns

GetRoles

Gets all roles from that guild.

Returns

A list of

CreateRole

Creates a new role in that guild.

Parameters

Name

Description

Type

properties

Attributes for that role

RoleProperties

Returns

GetInvites

Gets all invites for the guild.

Returns

A list of

GetWebhooks

Gets all the guild's webhooks

Returns

A list of

GetAuditLog

Gets the guild's audit log

Parameters

Name

Description

Type

filters

Optional filters for the query

AuditLogFilters?

Returns

A list of

GetMember

Gets a user's guild member info.

Parameters

Name

Description

Type

userId

The target user's ID

ulong

GetBans

Gets the guild's bans.

Returns

A list of

GetBan

Gets a user's ban info on the guild.

Parameters

Name

Description

Type

userId

The target user's ID

ulong

Returns

‚Äč