GuildTrait
Table of Contents
Methods
- getIconAttribute() : string|null
- Returns the guilds icon.
- getRepositoryAttributes() : array<string|int, mixed>
- {@inheritDoc}
- getSplashAttribute() : string|null
- Returns the guild splash.
- getFeatureAnimatedBannerAttribute() : bool
- getFeatureAnimatedIconAttribute() : bool
- getFeatureApplicationCommandPermissionsV2() : bool
- getFeatureAutoModerationAttribute() : bool
- getFeatureBannerAttribute() : bool
- getFeatureCommunityAttribute() : bool
- getFeatureCreatorMonetizableProvisionalAttribute() : bool
- getFeatureCreatorStorePageAttribute() : bool
- getFeatureDeveloperSupportServerAttribute() : bool
- getFeatureDiscoverableAttribute() : bool
- getFeatureEnhancedRoleColorsAttribute() : bool
- getFeatureFeaturableAttribute() : bool
- getFeatureGuestEnabledAttribute() : bool
- getFeatureHasDirectoryEntryAttribute() : bool
- getFeatureInvitesDisabledAttribute() : bool
- getFeatureInviteSplashAttribute() : bool
- getFeatureLinkedToHubAttribute() : bool
- getFeatureMemberVerificationGateEnabledAttribute() : bool
- getFeatureMonetizationEnabledAttribute() : bool
- getFeatureMoreSoundboardAttribute() : bool
- getFeatureMoreStickersAttribute() : bool
- getFeatureNewsAttribute() : bool
- getFeaturePartneredAttribute() : bool
- getFeaturePreviewEnabledAttribute() : bool
- getFeaturePrivateThreadsAttribute() : bool
- getFeatureRaidAlertsDisabledAttribute() : bool
- getFeatureRaidAlertsEnabledAttribute() : bool
- getFeatureRoleIconsAttribute() : bool
- getFeatureRoleSubscriptionsAvailableForPurchaseAttribute() : bool
- getFeatureRoleSubscriptionsEnabledAttribute() : bool
- getFeatureSoundboardAttribute() : bool
- getFeatureTicketedEventsEnabledAttribute() : bool
- getFeatureVanityUrlAttribute() : bool
- getFeatureVerifiedAttribute() : bool
- getFeatureVipRegionsAttribute() : bool
- getFeatureWelcomeScreenEnabledAttribute() : bool
- getIconHashAttribute() : string|null
- Returns the guild icon hash.
- getSplashHashAttribute() : string|null
- Returns the guild splash hash.
Methods
getIconAttribute()
Returns the guilds icon.
public
getIconAttribute([string|null $format = null ][, int $size = 1024 ]) : string|null
Parameters
- $format : string|null = null
-
The image format.
- $size : int = 1024
-
The size of the image.
Return values
string|null —The URL to the guild icon or null.
getRepositoryAttributes()
{@inheritDoc}
public
getRepositoryAttributes() : array<string|int, mixed>
Return values
array<string|int, mixed>getSplashAttribute()
Returns the guild splash.
public
getSplashAttribute([string $format = 'webp' ][, int $size = 2048 ]) : string|null
Parameters
- $format : string = 'webp'
-
The image format.
- $size : int = 2048
-
The size of the image.
Return values
string|null —The URL to the guild splash or null.
getFeatureAnimatedBannerAttribute()
protected
getFeatureAnimatedBannerAttribute() : bool
Return values
boolgetFeatureAnimatedIconAttribute()
protected
getFeatureAnimatedIconAttribute() : bool
Return values
boolgetFeatureApplicationCommandPermissionsV2()
protected
getFeatureApplicationCommandPermissionsV2() : bool
Return values
boolgetFeatureAutoModerationAttribute()
protected
getFeatureAutoModerationAttribute() : bool
Return values
boolgetFeatureBannerAttribute()
protected
getFeatureBannerAttribute() : bool
Return values
boolgetFeatureCommunityAttribute()
protected
getFeatureCommunityAttribute() : bool
Return values
boolgetFeatureCreatorMonetizableProvisionalAttribute()
protected
getFeatureCreatorMonetizableProvisionalAttribute() : bool
Return values
boolgetFeatureCreatorStorePageAttribute()
protected
getFeatureCreatorStorePageAttribute() : bool
Return values
boolgetFeatureDeveloperSupportServerAttribute()
protected
getFeatureDeveloperSupportServerAttribute() : bool
Return values
boolgetFeatureDiscoverableAttribute()
protected
getFeatureDiscoverableAttribute() : bool
Return values
boolgetFeatureEnhancedRoleColorsAttribute()
protected
getFeatureEnhancedRoleColorsAttribute() : bool
Return values
boolgetFeatureFeaturableAttribute()
protected
getFeatureFeaturableAttribute() : bool
Return values
boolgetFeatureGuestEnabledAttribute()
protected
getFeatureGuestEnabledAttribute() : bool
Return values
boolgetFeatureHasDirectoryEntryAttribute()
protected
getFeatureHasDirectoryEntryAttribute() : bool
Return values
boolgetFeatureInvitesDisabledAttribute()
protected
getFeatureInvitesDisabledAttribute() : bool
Return values
boolgetFeatureInviteSplashAttribute()
protected
getFeatureInviteSplashAttribute() : bool
Return values
boolgetFeatureLinkedToHubAttribute()
protected
getFeatureLinkedToHubAttribute() : bool
Return values
boolgetFeatureMemberVerificationGateEnabledAttribute()
protected
getFeatureMemberVerificationGateEnabledAttribute() : bool
Return values
boolgetFeatureMonetizationEnabledAttribute()
protected
getFeatureMonetizationEnabledAttribute() : bool
Return values
boolgetFeatureMoreSoundboardAttribute()
protected
getFeatureMoreSoundboardAttribute() : bool
Return values
boolgetFeatureMoreStickersAttribute()
protected
getFeatureMoreStickersAttribute() : bool
Return values
boolgetFeatureNewsAttribute()
protected
getFeatureNewsAttribute() : bool
Return values
boolgetFeaturePartneredAttribute()
protected
getFeaturePartneredAttribute() : bool
Return values
boolgetFeaturePreviewEnabledAttribute()
protected
getFeaturePreviewEnabledAttribute() : bool
Return values
boolgetFeaturePrivateThreadsAttribute()
protected
getFeaturePrivateThreadsAttribute() : bool
Return values
boolgetFeatureRaidAlertsDisabledAttribute()
protected
getFeatureRaidAlertsDisabledAttribute() : bool
Return values
boolgetFeatureRaidAlertsEnabledAttribute()
protected
getFeatureRaidAlertsEnabledAttribute() : bool
Return values
boolgetFeatureRoleIconsAttribute()
protected
getFeatureRoleIconsAttribute() : bool
Return values
boolgetFeatureRoleSubscriptionsAvailableForPurchaseAttribute()
protected
getFeatureRoleSubscriptionsAvailableForPurchaseAttribute() : bool
Return values
boolgetFeatureRoleSubscriptionsEnabledAttribute()
protected
getFeatureRoleSubscriptionsEnabledAttribute() : bool
Return values
boolgetFeatureSoundboardAttribute()
protected
getFeatureSoundboardAttribute() : bool
Return values
boolgetFeatureTicketedEventsEnabledAttribute()
protected
getFeatureTicketedEventsEnabledAttribute() : bool
Return values
boolgetFeatureVanityUrlAttribute()
protected
getFeatureVanityUrlAttribute() : bool
Return values
boolgetFeatureVerifiedAttribute()
protected
getFeatureVerifiedAttribute() : bool
Return values
boolgetFeatureVipRegionsAttribute()
protected
getFeatureVipRegionsAttribute() : bool
Return values
boolgetFeatureWelcomeScreenEnabledAttribute()
protected
getFeatureWelcomeScreenEnabledAttribute() : bool
Return values
boolgetIconHashAttribute()
Returns the guild icon hash.
protected
getIconHashAttribute() : string|null
Return values
string|null —The guild icon hash or null.
getSplashHashAttribute()
Returns the guild splash hash.
protected
getSplashHashAttribute() : string|null
Return values
string|null —The guild splash hash or null.