Interface IPartialGuild
public interface IPartialGuild : ISnowflake
- Inherited Members
Properties
BannerHash
The hash of the guild banner.
string? BannerHash { get; }
Property Value
BannerHeight
The height of the guild banner in pixels.
int? BannerHeight { get; }
Property Value
- int?
BannerWidth
The width of the guild banner in pixels.
int? BannerWidth { get; }
Property Value
- int?
EmbedSplashHash
The hash of the embedded invite splash.
string? EmbedSplashHash { get; }
Property Value
EmbedSplashHeight
The height of the embedded invite splash in pixels
int? EmbedSplashHeight { get; }
Property Value
- int?
EmbedSplashWidth
The width of the embedded invite splash in pixels.
int? EmbedSplashWidth { get; }
Property Value
- int?
Features
Array of guild feature flags.
string[]? Features { get; }
Property Value
- string[]
Remarks
ANIMATED_ICON, ANIMATED_BANNER, BANNER, DETACHED_BANNER, INVITE_SPLASH, INVITES_DISABLED, TEXT_CHANNEL_FLEXIBLE_NAMES, MORE_EMOJI, MORE_STICKERS, UNLIMITED_EMOJI, UNLIMITED_STICKERS, EXPRESSION_PURGE_ALLOWED, VANITY_URL, VERIFIED, VIP_VOICE, UNAVAILABLE_FOR_EVERYONE, UNAVAILABLE_FOR_EVERYONE_BUT_STAFF, VISIONARY, OPERATOR, LARGE_GUILD_OVERRIDE, VERY_LARGE_GUILD (other values allowed)
IconHash
The hash of the guild icon.
string? IconHash { get; }
Property Value
InviteSplashHash
The hash of the guild splash screen.
string? InviteSplashHash { get; }
Property Value
InviteSplashHeight
The height of the guild splash in pixels
int? InviteSplashHeight { get; }
Property Value
- int?
InviteSplashWidth
The width of the guild splash in pixels.
int? InviteSplashWidth { get; }
Property Value
- int?
Name
The name of the guild.
string Name { get; }
Property Value
SplashCardAligment
The alignment of the splash card.
GuildSplashCardAlignment SplashCardAligment { get; }
Property Value
Methods
GetBannerUrl(int)
Get the guild's banner.
string? GetBannerUrl(int size)
Parameters
sizeint
Returns
GetEmbedSplashUrl(int)
Get the guild's embed splash.
string? GetEmbedSplashUrl(int size)
Parameters
sizeint
Returns
GetIconUrl(int)
Get the guild's icon.
string? GetIconUrl(int size)
Parameters
sizeint
Returns
GetInviteSplashUrl(int)
Get the guild's invite splash.
string? GetInviteSplashUrl(int size)
Parameters
sizeint