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
pageClientGuildSettingsGetTemplates
Gets all templates for that guild.
Return
A list of
pageDiscordGuildTemplateCreateTemplate
Creates a new template for that guild.
Parameters
Name | Description | Type |
name | The template's name | string |
description | The template's description | string |
Returns
pageDiscordGuildTemplateDeleteTemplate
Deletes a template for that guild.
Parameters
Name | Description | Type |
templateCode | The target template's code | string |
Returns
pageDiscordGuildTemplateSetVanityUrl
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
pageWelcomeScreenModifyWelcomeScreen
Modifies the guild's welcome screen.
Parameters
Name | Description | Type |
properties | The values to change | WelcomeScreenProperties |
Returns
pageWelcomeScreenGetChannels
Gets all of that guild's channels.
Returns
A list of
pageGuildChannelCreateChannel
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
pageGuildChannelGetEmojis
Gets all that guild's emojis.
Returns
A list of
pageDiscordEmojiGetEmoji
Gets a specific emoji from that guild.
Returns
pageDiscordEmojiCreateEmoji
Creates a new emoji in that guild.
Parameters
Name | Description | Type |
properties | Attributes for the emoji | EmojiProperties |
Returns
pageDiscordEmojiGetRoles
Gets all roles from that guild.
Returns
A list of
pageDiscordRoleCreateRole
Creates a new role in that guild.
Parameters
Name | Description | Type |
properties | Attributes for that role | RoleProperties |
Returns
pageDiscordRoleGetInvites
Gets all invites for the guild.
Returns
A list of
pageGuildInviteGetWebhooks
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
pageAuditLogEntryGetMember
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
pageDiscordBanGetBan
Gets a user's ban info on the guild.
Parameters
Name | Description | Type |
userId | The target user's ID | ulong |
Returns
pageDiscordBanLast updated