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

pageClientGuildSettings

GetTemplates

Gets all templates for that guild.

Return

A list of

pageDiscordGuildTemplate

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

pageDiscordGuildTemplate

DeleteTemplate

Deletes a template for that guild.

Parameters

Name

Description

Type

templateCode

The target template's code

string

Returns

pageDiscordGuildTemplate

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

pageWelcomeScreen

ModifyWelcomeScreen

Modifies the guild's welcome screen.

Parameters

Name

Description

Type

properties

The values to change

WelcomeScreenProperties

Returns

pageWelcomeScreen

GetChannels

Gets all of that guild's channels.

Returns

A list of

pageGuildChannel

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

pageGuildChannel

GetEmojis

Gets all that guild's emojis.

Returns

A list of

pageDiscordEmoji

GetEmoji

Gets a specific emoji from that guild.

Returns

pageDiscordEmoji

CreateEmoji

Creates a new emoji in that guild.

Parameters

Name

Description

Type

properties

Attributes for the emoji

EmojiProperties

Returns

pageDiscordEmoji

GetRoles

Gets all roles from that guild.

Returns

A list of

pageDiscordRole

CreateRole

Creates a new role in that guild.

Parameters

Name

Description

Type

properties

Attributes for that role

RoleProperties

Returns

pageDiscordRole

GetInvites

Gets all invites for the guild.

Returns

A list of

pageGuildInvite

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

pageAuditLogEntry

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

pageDiscordBan

GetBan

Gets a user's ban info on the guild.

Parameters

Name

Description

Type

userId

The target user's ID

ulong

Returns

pageDiscordBan

Last updated