Class DiscordWidget
Represents a Discord guild's widget.
Namespace: DisCatSharp.Entities
Assembly: DisCatSharp.dll
Syntax
public class DiscordWidget : SnowflakeObject
Properties
| Improve this Doc View SourceChannels
Gets a list of widget channels.
Declaration
public IReadOnlyList<DiscordChannel> Channels { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<DiscordChannel> |
Guild
Gets the guild.
Declaration
public DiscordGuild Guild { get; }
Property Value
Type | Description |
---|---|
DiscordGuild |
InstantInviteUrl
Gets the guild's invite URL.
Declaration
public string InstantInviteUrl { get; }
Property Value
Type | Description |
---|---|
System.String |
Members
Gets a list of online members.
Declaration
public IReadOnlyList<DiscordWidgetMember> Members { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<DiscordWidgetMember> |
Name
Gets the guild's name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
PresenceCount
Gets the number of online members.
Declaration
public int PresenceCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |