Class DiscordGuild
Represents a collection of users and channels. Also referred to as a "server".
Inherited Members
Namespace: Discore
Assembly: Discore.dll
Syntax
public class DiscordGuild : DiscordIdEntity
Properties
| Name | Description |
|---|---|
| AfkChannelId | Gets the ID of the afk channel in this guild (if set). |
| AfkTimeout | Gets the afk timeout in seconds of this guild (if set). |
| ApplicationId | Gets the application ID of the bot who created this guild. Returns null if this guild was not created by a bot. |
| Banner | Gets the guild's banner or null if the guild does not have one. |
| DefaultMessageNotifications | Gets the default message notification level for users joining this guild. |
| Description | The description of the guild or null if the guild does not have one. |
| Emojis | Gets a dictionary of all custom emojis in this guild. |
| ExplicitContentFilter | Gets the level of explicit content filtering used by this server. |
| Features | Gets a list of guild features. |
| Icon | Gets the icon of this guild or null if the guild has no icon set. |
| IsWidgetEnabled | Gets whether this guild has the widget enabled. |
| MaxMembers | The maximum number of members for the guild. |
| MaxPresences | The maximum number of presences for the guild. |
| MfaLevel | Gets the level of multi-factor authentication for this guild. |
| Name | Gets the name of this guild. |
| OwnerId | Gets the ID of the user who owns this guild. |
| PreferredLocale | Gets the preferred locale of the guild. |
| PremiumSubscriptionCount | Gets the total number of users currently boosting the guild. |
| PremiumTier | Gets the Nitro boosting (premium) tier of the guild. |
| Roles | Gets a dictionary of all roles in this guild. |
| Splash | Gets the splash image of this guild or null if the guild has no splash. |
| SystemChannelId | Gets the ID of the text channel which system messages are sent to. |
| VanityUrlCode | The vanity URL code for the guild or null if the guild does not have a vanity URL. |
| VerificationLevel | Gets the level of verification required by this guild. |
| WidgetChannelId | Gets the ID of the channel used by the guild's widget. |
Methods
| Name | Description |
|---|---|
| HasFeature(string) | Returns whether this guild has the given |
| ToString() |