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
ClientGuildSettingsGetTemplates
Gets all templates for that guild.
Return
A list of
DiscordGuildTemplateCreateTemplate
Creates a new template for that guild.
Parameters
Name
Description
Type
name
The template's name
string
description
The template's description
string
Returns
DiscordGuildTemplateDeleteTemplate
Deletes a template for that guild.
Parameters
Name
Description
Type
templateCode
The target template's code
string
Returns
DiscordGuildTemplateSetVanityUrl
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
WelcomeScreenModifyWelcomeScreen
Modifies the guild's welcome screen.
Parameters
Name
Description
Type
properties
The values to change
WelcomeScreenProperties
Returns
WelcomeScreenGetChannels
Gets all of that guild's channels.
Returns
A list of
GuildChannelCreateChannel
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
GuildChannelGetEmojis
Gets all that guild's emojis.
Returns
A list of
DiscordEmojiGetEmoji
Gets a specific emoji from that guild.
Returns
DiscordEmojiCreateEmoji
Creates a new emoji in that guild.
Parameters
Name
Description
Type
properties
Attributes for the emoji
EmojiProperties
Returns
DiscordEmojiGetRoles
Gets all roles from that guild.
Returns
A list of
DiscordRoleCreateRole
Creates a new role in that guild.
Parameters
Name
Description
Type
properties
Attributes for that role
RoleProperties
Returns
DiscordRoleGetInvites
Gets all invites for the guild.
Returns
A list of
GuildInviteGetWebhooks
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
AuditLogEntryGetMember
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
DiscordBanGetBan
Gets a user's ban info on the guild.
Parameters
Name
Description
Type
userId
The target user's ID
ulong
Returns
DiscordBanLast updated
Was this helpful?