A

$Client#apiProperty in class Client
The API manager.
Client::apimanager() — Method in class Client
You don't need to know.
Client::addTimer() — Method in class Client
Adds a "client-dependant" timer. The timer gets automatically cancelled on destroy. The callback can only accept one argument, the client.
Client::addPeriodicTimer() — Method in class Client
Adds a "client-dependant" periodic timer. The timer gets automatically cancelled on destroy. The callback can only accept one argument, the client.
APIEndpointsClass in namespace CharlotteDunois\Yasmin\HTTP
Handles the API endpoints.
$APIEndpoints#apiProperty in class APIEndpoints
The API manager.
APIManagerClass in namespace CharlotteDunois\Yasmin\HTTP
Handles the API.
APIManager::add() — Method in class APIManager
Adds an APIRequest to the queue.
APIRequestClass in namespace CharlotteDunois\Yasmin\HTTP
Represents a single HTTP request.
$APIRequest#apiProperty in class APIRequest
The API manager.
AthenaRatelimitBucketClass in namespace CharlotteDunois\Yasmin\HTTP
Manages a route's ratelimit in Redis, using Athena. Requires client option http.ratelimitbucket.athena to be set to an instance of AthenaCache.
$AthenaRatelimitBucket#apiProperty in class AthenaRatelimitBucket
The API manager.
$Channel#apiProperty in class Channel
$Emoji#apiProperty in class Emoji
$Guild#apiProperty in class Guild
Guild::addGuildMember() — Method in class Guild
Guild::addGuildMemberRole() — Method in class Guild
$Invite#apiProperty in class Invite
Invite::acceptInvite() — Method in class Invite
$User#apiProperty in class User
$Voice#apiProperty in class Voice
$Webhook#apiProperty in class Webhook
Constructor.
$RatelimitBucket#apiProperty in class RatelimitBucket
The API manager.
ChannelStorageInterface::all() — Method in class ChannelStorageInterface
Returns all items.
EmojiStorageInterface::all() — Method in class EmojiStorageInterface
Returns all items.
GuildMemberStorageInterface::all() — Method in class GuildMemberStorageInterface
Returns all items.
GuildStorageInterface::all() — Method in class GuildStorageInterface
Returns all items.
MessageStorageInterface::all() — Method in class MessageStorageInterface
Returns all items.
PresenceStorageInterface::all() — Method in class PresenceStorageInterface
Returns all items.
RoleStorageInterface::all() — Method in class RoleStorageInterface
Returns all items.
StorageInterface::all() — Method in class StorageInterface
Returns all items.
UserStorageInterface::all() — Method in class UserStorageInterface
Returns all items.
ActivityClass in namespace CharlotteDunois\Yasmin\Models
Something someone does.
$Activity#applicationIDProperty in class Activity
The application ID associated with the activity, or null.
$Activity#assetsProperty in class Activity
Assets for rich presence, or null.
AnnouncementChannelClass in namespace CharlotteDunois\Yasmin\Models
Announcement channel; functionally identical to a TextChannel
AuditLogClass in namespace CharlotteDunois\Yasmin\Models
Represents a guild audit log.
AuditLogEntryClass in namespace CharlotteDunois\Yasmin\Models
Represents a guild audit log entry.
$AuditLogEntry#actionTypeProperty in class AuditLogEntry
Specific action type of this entry in its string presentation.
$Emoji#animatedProperty in class Emoji
Whether this emoji is animated.
Emoji::addRestrictedRole() — Method in class Emoji
Adds a role to the list of roles that can use this emoji. Resolves with $this.
Emoji::addRestrictedRoles() — Method in class Emoji
Adds multiple roles to the list of roles that can use this emoji. Resolves with $this.
$GroupDMChannel#applicationIDProperty in class GroupDMChannel
The application which created the group DM channel.
GroupDMChannel::addRecipient() — Method in class GroupDMChannel
Adds the given user to the Group DM channel using the given access token. Resolves with $this.
$Guild#availableProperty in class Guild
Whether the guild is available.
$Guild#afkChannelIDProperty in class Guild
The ID of the afk channel, or null.
$Guild#afkTimeoutProperty in class Guild
The time in seconds before an user is counted as "away from keyboard".
$Guild#applicationIDProperty in class Guild
Application ID of the guild creator, if it is bot-created.
$Guild#afkChannelProperty in class Guild
The guild's afk channel, or null.
Guild::addMember() — Method in class Guild
Adds the given user to the guild using the OAuth Access Token. Requires the CREATE_INSTANT_INVITE permission. Resolves with $this.
$GuildMember#avatarProperty in class GuildMember
The hash of the user's server avatar, or null.
GuildMember::addRole() — Method in class GuildMember
Adds a role to the guild member. Resolves with $this.
GuildMember::addRoles() — Method in class GuildMember
Adds roles to the guild member. Resolves with $this.
$Message#authorProperty in class Message
The user that created the message.
$Message#activityProperty in class Message
The activity attached to this message. Sent with Rich Presence-related chat embeds.
$Message#applicationProperty in class Message
The application attached to this message. Sent with Rich Presence-related chat embeds.
$Message#attachmentsProperty in class Message
A collection of attachments in the message - mapped by their ID. ({see \CharlotteDunois\Yasmin\Models\MessageAttachment})
$MessageActivity#activityProperty in class MessageActivity
The activity this message activity points to, or null.
$MessageAttachment#attachmentProperty in class MessageAttachment
Used for sending attachments.
$MessageEmbed#authorProperty in class MessageEmbed
The author in the format [ 'name' => string, 'icon' => string, 'url' => string ], or null.
MessageEmbed::addField() — Method in class MessageEmbed
Adds a field to this embed.
$PermissionOverwrite#allowProperty in class PermissionOverwrite
The allowed Permissions instance.
Permissions::add() — Method in class Permissions
Adds permissions to these ones.
$Presence#activitiesProperty in class Presence
All activities the user is doing.
$RichPresenceAssets#activityProperty in class RichPresenceAssets
The activity which these assets belong to.
$User#avatarProperty in class User
The hash of the user's avatar, or null.
$Webhook#avatarProperty in class Webhook
The webhook default avatar, or null.
DataHelpers::applyOptions() — Method in class DataHelpers
Converts the input to the specified options.
URLHelpers::applyRequestOptions() — Method in class URLHelpers
Applies request options to the request.
$WSConnection#authenticatedProperty in class WSConnection
The WS authentication state.
$WebhookClient#avatarProperty in class WebhookClient
The webhook default avatar, or null.

B

$APIManager#bucketNameProperty in class APIManager
The class name of the bucket to use.
$APIManager#bucketRatelimitPromisesProperty in class APIManager
Pending promises of buckets setting the ratelimit.
$AthenaRatelimitBucket#busyProperty in class AthenaRatelimitBucket
Whether the bucket is busy.
Channel::bulkDeleteMessages() — Method in class Channel
Guild::beginGuildPrune() — Method in class Guild
$RatelimitBucket#busyProperty in class RatelimitBucket
Whether the bucket is busy.
GuildTextChannelInterface::bulkDelete() — Method in class GuildTextChannelInterface
Deletes multiple messages at once. Resolves with $this.
BaseClass in namespace CharlotteDunois\Yasmin\Models
Something all Models extend.
$Guild#bannerProperty in class Guild
Guild banner hash used for Server Discovery, or null.
Guild::ban() — Method in class Guild
Bans the given user. Resolves with $this.
$GuildMember#bannerProperty in class GuildMember
The hash of the user's server banner, or null.
GuildMember::ban() — Method in class GuildMember
Bans the guild member.
$OAuthApplication#botPublicProperty in class OAuthApplication
Whether the bot is public.
$OAuthApplication#botRequireCodeGrantProperty in class OAuthApplication
Whether the bot requires a code grant (full OAuth flow).
$Permissions#bitfieldProperty in class Permissions
The bitfield value.
$Storage#baseStorageArgsProperty in class Storage
Basic storage args.
$User#botProperty in class User
Is the user a bot? Or are you a bot?
$User#bannerProperty in class User
The hash of the user's banner, or null.
$VoiceChannel#bitrateProperty in class VoiceChannel
The bitrate of the channel.
TextChannelTrait::bulkDelete() — Method in class TextChannelTrait
Deletes multiple messages at once. Resolves with $this.
$Collector#bucketProperty in class Collector
$Snowflake#binaryProperty in class Snowflake
The binary representation of this snowflake.

C

ClientClass in namespace CharlotteDunois\Yasmin
The client. What else do you expect this to say?
$Client#channelsProperty in class Client
Holds all cached channels, mapped by ID.
Client::createGuild() — Method in class Client
Creates a new guild. Resolves with an instance of Guild. Options is as following, everything is optional unless specified:
Client::cancelTimer() — Method in class Client
Cancels a timer.
Client::cancelTimers() — Method in class Client
Cancels all timers.
Client::checkOptionsStorages() — Method in class Client
Validates the passed client options storages.
ClientEventsClass in namespace CharlotteDunois\Yasmin
Documents all Client events. ($client->on('name here', callable))
ClientEvents::channelCreate() — Method in class ClientEvents
Emitted when a channel gets created.
ClientEvents::channelUpdate() — Method in class ClientEvents
Emitted when a channel gets updated.
ClientEvents::channelDelete() — Method in class ClientEvents
Emitted when a channel gets deleted.
ClientEvents::channelPinsUpdate() — Method in class ClientEvents
Emitted when a channel's pins gets updated. Due to the nature of the event, it's not possible to do much.
$APIEndpoints#channelProperty in class APIEndpoints
The channel endpoints.
$APIManager#clientProperty in class APIManager
APIManager::clear() — Method in class APIManager
Clears all buckets and the queue.
$AthenaRatelimitBucket#cacheProperty in class AthenaRatelimitBucket
The athena cache instance.
AthenaRatelimitBucket::clear() — Method in class AthenaRatelimitBucket
Unsets all queue items.
ChannelClass in namespace CharlotteDunois\Yasmin\HTTP\Endpoints
Handles the API endpoints "Channel".
Channel::createMessage() — Method in class Channel
Channel::createMessageReaction() — Method in class Channel
Channel::createChannelInvite() — Method in class Channel
Channel::crosspostChannelMessage() — Method in class Channel
Emoji::createGuildEmoji() — Method in class Emoji
Guild::createGuild() — Method in class Guild
Guild::createGuildChannel() — Method in class Guild
Guild::createGuildBan() — Method in class Guild
Guild::createGuildRole() — Method in class Guild
Guild::createGuildIntegration() — Method in class Guild
User::createUserDM() — Method in class User
User::createGroupDM() — Method in class User
Webhook::createWebhook() — Method in class Webhook
RatelimitBucket::clear() — Method in class RatelimitBucket
Unsets all queue items.
CategoryChannelInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all guild category channels implement.
ChannelInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all channels implement.
ChannelStorageInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all channel storages implement. The storage also is used as factory.
ChannelStorageInterface::current() — Method in class ChannelStorageInterface
Returns the current element. From Iterator interface.
EmojiStorageInterface::current() — Method in class EmojiStorageInterface
Returns the current element. From Iterator interface.
GuildChannelInterface::clone() — Method in class GuildChannelInterface
Clones a guild channel. Resolves with an instance of GuildChannelInterface.
GuildMemberStorageInterface::current() — Method in class GuildMemberStorageInterface
Returns the current element. From Iterator interface.
GuildNewsChannelInterface::createInvite() — Method in class GuildNewsChannelInterface
Creates an invite. Resolves with an instance of Invite.
GuildStorageInterface::current() — Method in class GuildStorageInterface
Returns the current element. From Iterator interface.
GuildTextChannelInterface::createInvite() — Method in class GuildTextChannelInterface
Creates an invite. Resolves with an instance of Invite.
MessageStorageInterface::current() — Method in class MessageStorageInterface
Returns the current element. From Iterator interface.
PresenceStorageInterface::current() — Method in class PresenceStorageInterface
Returns the current element. From Iterator interface.
RatelimitBucketInterface::clear() — Method in class RatelimitBucketInterface
Unsets all queue items.
RoleStorageInterface::current() — Method in class RoleStorageInterface
Returns the current element. From Iterator interface.
StorageInterface::current() — Method in class StorageInterface
Returns the current element. From Iterator interface.
StorageInterface::count() — Method in class StorageInterface
Returns the total number of items. From Countable interface.
StorageInterface::copy() — Method in class StorageInterface
Returns a copy of itself. This does not make a copy of the stored data.
StorageInterface::clear() — Method in class StorageInterface
Clears the Storage.
TextChannelInterface::collectMessages() — Method in class TextChannelInterface
Collects messages during a specific duration (and max. amount). Resolves with a Collection of Message instances, mapped by their IDs.
UserStorageInterface::current() — Method in class UserStorageInterface
Returns the current element. From Iterator interface.
$AuditLogEntry#changesProperty in class AuditLogEntry
Specific property changes.
$AuditLogEntry#createdTimestampProperty in class AuditLogEntry
When this audit log entry was created.
$AuditLogEntry#createdAtProperty in class AuditLogEntry
The DateTime instance of createdTimestamp.
CategoryChannelClass in namespace CharlotteDunois\Yasmin\Models
Represents a guild's category channel.
$CategoryChannel#createdTimestampProperty in class CategoryChannel
The timestamp of when this channel was created.
$CategoryChannel#createdAtProperty in class CategoryChannel
The DateTime instance of createdTimestamp.
ChannelStorageClass in namespace CharlotteDunois\Yasmin\Models
Channel Storage to store channels, which utilizes Collection.
ChannelStorage::clear() — Method in class ChannelStorage
Clears the Storage.
ClientBaseClass in namespace CharlotteDunois\Yasmin\Models
Something all Models, with the need for a client, extend.
$ClientBase#clientProperty in class ClientBase
The client which initiated the instance.
ClientStatusClass in namespace CharlotteDunois\Yasmin\Models
Represents an user's client status.
ClientUserClass in namespace CharlotteDunois\Yasmin\Models
Represents the Client User.
$ClientUser#clientPresenceProperty in class ClientUser
The client's presence.
ClientUser::createGroupDM() — Method in class ClientUser
Creates a new Group DM with the owner of the access tokens. Resolves with an instance of GroupDMChannel. The structure of the array is as following:
ClientUser::createDM() — Method in class ClientUser
$DMChannel#createdTimestampProperty in class DMChannel
The timestamp of when this channel was created.
$DMChannel#createdAtProperty in class DMChannel
The DateTime instance of createdTimestamp.
$Emoji#createdTimestampProperty in class Emoji
The timestamp of when this emoji was created, or null for unicode emoji.
$Emoji#createdAtProperty in class Emoji
An DateTime instance of the createdTimestamp, or null for unicode emoji.
$Guild#channelsProperty in class Guild
Holds a guild's channels, mapped by their ID.
$Guild#createdTimestampProperty in class Guild
The timestamp when this guild was created.
$Guild#createdAtProperty in class Guild
The DateTime instance of createdTimestamp.
Guild::createChannel() — Method in class Guild
Creates a new channel in the guild. Resolves with an instance of GuildChannelInterface.
Guild::createEmoji() — Method in class Guild
Creates a new custom emoji in the guild. Resolves with an instance of Emoji.
Guild::createRole() — Method in class Guild
Creates a new role in the guild. Resolves with an instance of Role.
$GuildForumChannel#createdTimestampProperty in class GuildForumChannel
The timestamp of when this channel was created.
$GuildStoreChannel#createdTimestampProperty in class GuildStoreChannel
The timestamp of when this channel was created.
$GuildStoreChannel#createdAtProperty in class GuildStoreChannel
The DateTime instance of createdTimestamp.
$Invite#codeProperty in class Invite
The invite code.
$Invite#channelProperty in class Invite
The channel which this invite belongs to.
$Invite#createdTimestampProperty in class Invite
When this invite was created, or null.
$Invite#createdAtProperty in class Invite
The DateTime instance of the createdTimestamp, or null.
$Message#channelProperty in class Message
The channel this message was created in.
$Message#contentProperty in class Message
The message content.
$Message#createdTimestampProperty in class Message
The timestamp of when this message was created.
$Message#cleanContentProperty in class Message
The message content with all mentions replaced.
$Message#createdAtProperty in class Message
An DateTime instance of the createdTimestamp.
Message::clearReactions() — Method in class Message
Removes all reactions from the message. Resolves with $this.
Message::collectReactions() — Method in class Message
Collects reactions during a specific duration. Resolves with a Collection of [ $messageReaction, $user ] arrays, mapped by their IDs or names (unicode emojis).
Message::crosspost() — Method in class Message
Crossposts the message. Resolves with $this.
$MessageApplication#coverImageProperty in class MessageApplication
The hash of the application cover image, or null.
$MessageAttachment#createdTimestampProperty in class MessageAttachment
The timestamp of when this attachment was created.
$MessageAttachment#createdAtProperty in class MessageAttachment
An DateTime instance of the createdTimestamp.
$MessageEmbed#colorProperty in class MessageEmbed
The color, or null.
$MessageMentions#channelsProperty in class MessageMentions
The collection which holds all channel mentions, mapped by their ID.
$MessageReaction#countProperty in class MessageReaction
Times this emoji has been reacted.
$MessageStorage#channelProperty in class MessageStorage
The channel this storage belongs to.
$PartialChannel#createdTimestampProperty in class PartialChannel
The timestamp when this channel was created.
$PartialChannel#createdAtProperty in class PartialChannel
The DateTime instance of createdTimestamp.
$PartialGuild#createdTimestampProperty in class PartialGuild
The timestamp when this guild was created.
$PartialGuild#createdAtProperty in class PartialGuild
The DateTime instance of createdTimestamp.
$PermissionOverwrite#channelProperty in class PermissionOverwrite
The channel this Permission Overwrite belongs to.
$Presence#clientStatusProperty in class Presence
The client's status on desktop/mobile/web, or null.
$Role#colorProperty in class Role
The color of the role.
$Role#createdTimestampProperty in class Role
The timestamp of when the role was created.
$Role#createdAtProperty in class Role
The DateTime instance of createdTimestamp.
Role::comparePositionTo() — Method in class Role
Compares the position from the role to the given role.
$Storage#clientProperty in class Storage
The client this storage belongs to.
Storage::copy() — Method in class Storage
Returns a copy of itself. This does not make a copy of the stored data.
$TextChannel#createdTimestampProperty in class TextChannel
The timestamp of when this channel was created.
$TextChannel#createdAtProperty in class TextChannel
The DateTime instance of createdTimestamp.
TextChannel::createWebhook() — Method in class TextChannel
Create a webhook for the channel. Resolves with the new Webhook instance.
$User#createdTimestampProperty in class User
The timestamp of when this user was created.
$User#createdAtProperty in class User
An DateTime instance of the createdTimestamp.
User::createDM() — Method in class User
Opens a DM channel to this user. Resolves with an instance of DMChannel.
$VoiceChannel#createdTimestampProperty in class VoiceChannel
The timestamp of when this channel was created.
VoiceChannel::canSpeak() — Method in class VoiceChannel
Whether the client user can speak in this channel.
$VoiceRegion#customProperty in class VoiceRegion
Whether the region is custom.
$Webhook#channelIDProperty in class Webhook
The channel ID the webhook belongs to.
GuildChannelTrait::createInvite() — Method in class GuildChannelTrait
Creates an invite. Resolves with an instance of Invite.
GuildChannelTrait::clone() — Method in class GuildChannelTrait
Clones a guild channel. Resolves with an instance of GuildChannelInterface.
TextChannelTrait::collectMessages() — Method in class TextChannelTrait
Collects messages during a specific duration (and max. amount). Resolves with a Collection of Message instances, mapped by their IDs.
CollectorClass in namespace CharlotteDunois\Yasmin\Utils
A collector is an util to collect elements from events.
Collector::collect() — Method in class Collector
Starts collecting. Resolves with a collection.
MessageHelpers::cleanContent() — Method in class MessageHelpers
Cleans the text from mentions, by providing a context message.
$ZlibStream#contextProperty in class ZlibStream
Etf::convertIDs() — Method in class Etf
Converts all IDs from integer to strings.
ChannelCreateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
$ChannelCreate#clientProperty in class ChannelCreate
The client.
ChannelDeleteClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
$ChannelDelete#clientProperty in class ChannelDelete
The client.
ChannelPinsUpdateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
$ChannelPinsUpdate#clientProperty in class ChannelPinsUpdate
The client.
ChannelUpdateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
$ChannelUpdate#clientProperty in class ChannelUpdate
The client.
$ChannelUpdate#clonesProperty in class ChannelUpdate
Whether we do clones.
$GuildBanAdd#clientProperty in class GuildBanAdd
The client.
$GuildBanRemove#clientProperty in class GuildBanRemove
The client.
$GuildCreate#clientProperty in class GuildCreate
The client.
$GuildDelete#clientProperty in class GuildDelete
The client.
$GuildEmojisUpdate#clientProperty in class GuildEmojisUpdate
The client.
$GuildIntegrationsUpdate#clientProperty in class GuildIntegrationsUpdate
The client.
$GuildMemberAdd#clientProperty in class GuildMemberAdd
The client.
$GuildMemberRemove#clientProperty in class GuildMemberRemove
The client.
$GuildMemberUpdate#clientProperty in class GuildMemberUpdate
The client.
$GuildMemberUpdate#clonesProperty in class GuildMemberUpdate
Whether we do clones.
$GuildMembersChunk#clientProperty in class GuildMembersChunk
The client.
$GuildRoleCreate#clientProperty in class GuildRoleCreate
The client.
$GuildRoleDelete#clientProperty in class GuildRoleDelete
The client.
$GuildRoleUpdate#clientProperty in class GuildRoleUpdate
The client.
$GuildRoleUpdate#clonesProperty in class GuildRoleUpdate
Whether we do clones.
$GuildUpdate#clientProperty in class GuildUpdate
The client.
$GuildUpdate#clonesProperty in class GuildUpdate
Whether we do clones.
$InviteCreate#clientProperty in class InviteCreate
The client.
$InviteDelete#clientProperty in class InviteDelete
The client.
$MessageCreate#clientProperty in class MessageCreate
The client.
$MessageDelete#clientProperty in class MessageDelete
The client.
$MessageDeleteBulk#clientProperty in class MessageDeleteBulk
The client.
$MessageReactionAdd#clientProperty in class MessageReactionAdd
The client.
$MessageReactionRemove#clientProperty in class MessageReactionRemove
The client.
$MessageReactionRemoveAll#clientProperty in class MessageReactionRemoveAll
The client.
$MessageUpdate#clientProperty in class MessageUpdate
The client.
$MessageUpdate#clonesProperty in class MessageUpdate
Whether we do clones.
$PresenceUpdate#clientProperty in class PresenceUpdate
The client.
$PresenceUpdate#clonesProperty in class PresenceUpdate
Whether we do clones.
$Ready#clientProperty in class Ready
The client.
$Resumed#clientProperty in class Resumed
The client.
$TypingStart#clientProperty in class TypingStart
The client.
$UserUpdate#clientProperty in class UserUpdate
The client.
$UserUpdate#clonesProperty in class UserUpdate
Whether we do clones.
$VoiceServerUpdate#clientProperty in class VoiceServerUpdate
The client.
$VoiceStateUpdate#clientProperty in class VoiceStateUpdate
The client.
$VoiceStateUpdate#clonesProperty in class VoiceStateUpdate
Whether we do clones.
$WSConnection#compressContextProperty in class WSConnection
WSConnection::connect() — Method in class WSConnection
Connects to the gateway url. Resolves with $this.
$WSManager#clientProperty in class WSManager
$WSManager#connectorProperty in class WSManager
$WSManager#connectionsProperty in class WSManager
$WSManager#compressionProperty in class WSManager
WSManager::connectShard() — Method in class WSManager
Connects the specified shard to the gateway url. Resolves with an instance of WSConnection.
WSManager::createConnection() — Method in class WSManager
Creates a new ws connection for a specific shard, if necessary.
$WebhookClient#channelIDProperty in class WebhookClient
The channel the webhook belongs to.

D

Client::destroy() — Method in class Client
Cleanly logs out of Discord.
Client::destroyUtil() — Method in class Client
Destroys an Util and calls destroy (requires that it is registered as such).
Client::destroyUtils() — Method in class Client
Destroys or stops all timers from Utils (requires that they are registered as such).
ClientEvents::disconnect() — Method in class ClientEvents
Emitted when the shard gets disconnected from the gateway.
ClientEvents::debug() — Method in class ClientEvents
Debug messages.
DiscordExceptionClass in namespace CharlotteDunois\Yasmin
Exception for Discord.
$APIRequest#deferredProperty in class APIRequest
The used deferred.
APIRequest::decodeBody() — Method in class APIRequest
Gets the response body from the response.
DiscordAPIExceptionClass in namespace CharlotteDunois\Yasmin\HTTP
Represents an error from the Discord HTTP API.
Channel::deleteChannel() — Method in class Channel
Channel::deleteMessage() — Method in class Channel
Channel::deleteMessageUserReaction() — Method in class Channel
Channel::deleteMessageReactions() — Method in class Channel
Channel::deleteMessageReactionsForEmoji() — Method in class Channel
Channel::deleteChannelPermission() — Method in class Channel
Emoji::deleteGuildEmoji() — Method in class Emoji
Guild::deleteGuild() — Method in class Guild
Guild::deleteGuildRole() — Method in class Guild
Guild::deleteGuildIntegration() — Method in class Guild
Invite::deleteInvite() — Method in class Invite
Webhook::deleteWebhook() — Method in class Webhook
Webhook::deleteWebhookToken() — Method in class Webhook
DMChannelInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all direct message channels implement.
GuildChannelInterface::delete() — Method in class GuildChannelInterface
Deletes the channel.
StorageInterface::delete() — Method in class StorageInterface
Removes an item.
WSCompressionInterface::destroy() — Method in class WSCompressionInterface
Destroys the context.
WSCompressionInterface::decompress() — Method in class WSCompressionInterface
Decompresses data.
WSEncodingInterface::decode() — Method in class WSEncodingInterface
Decodes data.
$Activity#detailsProperty in class Activity
Details about the activity, or null.
ChannelStorage::delete() — Method in class ChannelStorage
Removes an item.
$ClientStatus#desktopProperty in class ClientStatus
The status of the user on the desktop client.
ClientUser::deleteDM() — Method in class ClientUser
DMChannelClass in namespace CharlotteDunois\Yasmin\Models
Represents a classic DM channel.
Emoji::delete() — Method in class Emoji
Deletes the emoji.
EmojiStorage::delete() — Method in class EmojiStorage
Removes an item.
$Guild#defaultMessageNotificationsProperty in class Guild
The type of message that should notify you. ({see Guild::DEFAULT_MESSAGE_NOTIFICATIONS})
$Guild#descriptionProperty in class Guild
Guild description used for Server Discovery, or null.
$Guild#defaultRoleProperty in class Guild
The guild's default role.
Guild::delete() — Method in class Guild
Deletes the guild.
$GuildMember#deafProperty in class GuildMember
Whether the member is server deafened.
$GuildMember#displayNameProperty in class GuildMember
The displayed name.
GuildMemberStorage::delete() — Method in class GuildMemberStorage
Removes an item.
GuildStorage::delete() — Method in class GuildStorage
Removes an item.
Invite::delete() — Method in class Invite
Deletes the invite.
Message::delete() — Method in class Message
Deletes the message.
$MessageApplication#descriptionProperty in class MessageApplication
The description of the application.
$MessageEmbed#descriptionProperty in class MessageEmbed
The description, or null.
$MessageEmbed#datetimeProperty in class MessageEmbed
The DateTime instance of timestamp, or null.
MessageStorage::delete() — Method in class MessageStorage
Removes an item.
$OAuthApplication#descriptionProperty in class OAuthApplication
The application's description, or null.
$PermissionOverwrite#denyProperty in class PermissionOverwrite
The denied Permissions instance.
PermissionOverwrite::delete() — Method in class PermissionOverwrite
Deletes the permission overwrite.
PresenceStorage::delete() — Method in class PresenceStorage
Removes an item.
Role::delete() — Method in class Role
Deletes the role.
RoleStorage::delete() — Method in class RoleStorage
Removes an item.
Storage::delete() — Method in class Storage
Removes an item.
$User#discriminatorProperty in class User
The discriminator of this user.
User::deleteDM() — Method in class User
Deletes an existing DM channel to this user. Resolves with $this.
UserStorage::delete() — Method in class UserStorage
Removes an item.
$VoiceRegion#deprecatedProperty in class VoiceRegion
Whether this voice region is deprecated and therefore should be avoided.
Webhook::delete() — Method in class Webhook
Deletes the webhook.
GuildChannelTrait::delete() — Method in class GuildChannelTrait
Deletes the channel.
DataHelpersClass in namespace CharlotteDunois\Yasmin\Utils
Data Helper methods.
$Snowflake#dateProperty in class Snowflake
A DateTime instance of the timestamp.
Snowflake::deconstruct() — Method in class Snowflake
Deconstruct a snowflake.
ZlibStream::destroy() — Method in class ZlibStream
Destroys the context.
ZlibStream::decompress() — Method in class ZlibStream
Decompresses data.
DiscordGatewayExceptionClass in namespace CharlotteDunois\Yasmin\WebSocket
Represents an exception of the Discord Gateway component.
Etf::decode() — Method in class Etf
Decodes data.
Json::decode() — Method in class Json
Decodes data.
DispatchClass in namespace CharlotteDunois\Yasmin\WebSocket\Handlers
WS Event handler
WSConnection::destroy() — Method in class WSConnection
Disconnects.
WSConnection::disconnect() — Method in class WSConnection
Closes the WS connection.
WSManager::destroy() — Method in class WSManager
Disconnects.

E

$Client#emojisProperty in class Client
Holds all emojis, mapped by ID (custom emojis) and/or name (unicode emojis).
$Client#eventsQueueProperty in class Client
Events queue, until client turns ready.
ClientEvents::error() — Method in class ClientEvents
Emitted when an error happens (inside the library or any listeners). You should always listen on this event.
$APIEndpoints#emojiProperty in class APIEndpoints
The emoji endpoints.
$APIManager#endpointsProperty in class APIManager
APIManager::extractFromBucket() — Method in class APIManager
Extracts an item from a ratelimit bucket.
APIManager::execute() — Method in class APIManager
Executes an API Request.
APIManager::extractRatelimit() — Method in class APIManager
Extracts ratelimits from a response.
APIManager::extractRatelimitResetTime() — Method in class APIManager
Returns the ratelimit reset time.
APIRequest::execute() — Method in class APIRequest
Executes the request.
$AthenaRatelimitBucket#endpointProperty in class AthenaRatelimitBucket
The endpoint.
Channel::editMessage() — Method in class Channel
Channel::editChannelPermissions() — Method in class Channel
EmojiClass in namespace CharlotteDunois\Yasmin\HTTP\Endpoints
Handles the API endpoints "Emoji".
Webhook::executeWebhook() — Method in class Webhook
$RatelimitBucket#endpointProperty in class RatelimitBucket
The endpoint.
EmojiStorageInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all emoji storages implement. The storage also is used as factory.
GuildChannelInterface::edit() — Method in class GuildChannelInterface
Edits the channel. Resolves with $this.
WSEncodingInterface::encode() — Method in class WSEncodingInterface
Encodes data.
$Activity#emojiProperty in class Activity
The emoji of a custom status, or null.
$AuditLog#entriesProperty in class AuditLog
Holds the entries, mapped by their ID.
$AuditLogEntry#extraProperty in class AuditLogEntry
Any extra data from the entry, or null.
EmojiClass in namespace CharlotteDunois\Yasmin\Models
Represents an emoji - both custom and unicode emojis.
Emoji::edit() — Method in class Emoji
Edits the emoji. Resolves with $this.
EmojiStorageClass in namespace CharlotteDunois\Yasmin\Models
Emoji Storage to store emojis, utilizes Collection.
$Guild#emojisProperty in class Guild
Holds a guild's emojis, mapped by their ID.
$Guild#explicitContentFilterProperty in class Guild
The explicit content filter level of the guild. ({see Guild::EXPLICIT_CONTENT_FILTER})
Guild::edit() — Method in class Guild
Edits the guild. Resolves with $this.
GuildMember::edit() — Method in class GuildMember
Edits the guild member. Resolves with $this.
$Message#editedTimestampProperty in class Message
The timestamp of when this message was edited, or null.
$Message#embedsProperty in class Message
An array of embeds in the message.
$Message#editedAtProperty in class Message
An DateTime instance of the editedTimestamp, or null.
Message::edit() — Method in class Message
Edits the message. You need to be the author of the message. Resolves with $this.
MessageEmbed::exceedsOverallLimit() — Method in class MessageEmbed
Checks to see if adding a property has put us over Discord's 6000-char overall limit.
$MessageMentions#everyoneProperty in class MessageMentions
Whether the message mentions @everyone or @here.
$MessageReaction#emojiProperty in class MessageReaction
The emoji this message reaction is for.
$MessageStorage#enabledProperty in class MessageStorage
Whether the message cache is enabled.
PermissionOverwrite::edit() — Method in class PermissionOverwrite
Edits the permission overwrite. Resolves with $this.
$PresenceStorage#enabledProperty in class PresenceStorage
Whether the presence cache is enabled.
Role::edit() — Method in class Role
Edits the role with the given options. Resolves with $this.
$User#emailProperty in class User
An email address or maybe nothing at all. More likely to be nothing at all.
Webhook::edit() — Method in class Webhook
Edits the webhook. Resolves with $this.
Webhook::executeWebhook() — Method in class Webhook
Executes the webhook effectively. Resolves with an instance of Message.
GuildChannelTrait::edit() — Method in class GuildChannelTrait
Edits the channel. Resolves with $this.
$Collector#emitterProperty in class Collector
$Collector#eventProperty in class Collector
EventHelpersClass in namespace CharlotteDunois\Yasmin\Utils
Event Helper methods.
MessageHelpers::escapeMarkdown() — Method in class MessageHelpers
Escapes any Discord-flavour markdown in a string.
EtfClass in namespace CharlotteDunois\Yasmin\WebSocket\Encoding
Handles WS encoding.
$Etf#etfProperty in class Etf
Etf::encode() — Method in class Etf
Encodes data.
Json::encode() — Method in class Json
Encodes data.
$WSConnection#expectedCloseProperty in class WSConnection
If the connection gets closed, did we expect it?
$WSConnection#encodingProperty in class WSConnection
$WSManager#encodingProperty in class WSManager

F

Client::fetchApplication() — Method in class Client
Obtains the OAuth Application of the bot from Discord.
Client::fetchInvite() — Method in class Client
Obtains an invite from Discord. Resolves with an instance of Invite.
Client::fetchUser() — Method in class Client
Fetches an User from the API. Resolves with an User.
Client::fetchVoiceRegions() — Method in class Client
Obtains the available voice regions from Discord. Resolves with a Collection of Voice Region instances, mapped by their ID.
Client::fetchWebhook() — Method in class Client
Fetches a webhook from Discord. Resolves with an instance of Webhook.
APIEndpoints::format() — Method in class APIEndpoints
Formats Endpoints strings.
DiscordAPIException::flattenErrors() — Method in class DiscordAPIException
Flattens an errors object returned from the API into an array.
ChannelStorageInterface::factory() — Method in class ChannelStorageInterface
Factory to create (or retrieve existing) channels.
EmojiStorageInterface::factory() — Method in class EmojiStorageInterface
Factory to create (or retrieve existing) emojis.
GuildMemberStorageInterface::factory() — Method in class GuildMemberStorageInterface
Factory to create (or retrieve existing) guild members.
GuildNewsChannelInterface::fetchInvites() — Method in class GuildNewsChannelInterface
Fetches all invites of this channel. Resolves with a Collection of Invite instances, mapped by their code.
GuildStorageInterface::factory() — Method in class GuildStorageInterface
Factory to create (or retrieve existing) guilds.
GuildTextChannelInterface::fetchInvites() — Method in class GuildTextChannelInterface
Fetches all invites of this channel. Resolves with a Collection of Invite instances, mapped by their code.
PresenceStorageInterface::factory() — Method in class PresenceStorageInterface
Factory to create presences.
RoleStorageInterface::factory() — Method in class RoleStorageInterface
Factory to create (or retrieve existing) roles.
StorageInterface::filter() — Method in class StorageInterface
Filters the storage by a given callback, keeping only those items that pass a given truth test. Returns a new Storage instance.
StorageInterface::first() — Method in class StorageInterface
Returns the first element that passes a given truth test.
TextChannelInterface::fetchMessage() — Method in class TextChannelInterface
Fetches a specific message using the ID. Resolves with an instance of Message.
TextChannelInterface::fetchMessages() — Method in class TextChannelInterface
Fetches messages of this channel. Resolves with a Collection of Message instances, mapped by their ID.
UserStorageInterface::factory() — Method in class UserStorageInterface
Factory to create (or retrieve existing) users.
$Activity#flagsProperty in class Activity
The activity flags (as bitfield), like if an activity is a spectate activity.
ChannelStorage::factory() — Method in class ChannelStorage
Factory to create (or retrieve existing) channels.
ClientUser::fetchUserConnections() — Method in class ClientUser
EmojiStorage::factory() — Method in class EmojiStorage
Factory to create (or retrieve existing) emojis.
$Guild#featuresProperty in class Guild
An array of guild features.
Guild::fetchAuditLog() — Method in class Guild
Fetch audit log for the guild. Resolves with an instance of AuditLog.
Guild::fetchBan() — Method in class Guild
Fetches a specific ban for a user. Resolves with an instance of GuildBan.
Guild::fetchBans() — Method in class Guild
Fetch all bans of the guild. Resolves with a Collection of GuildBan instances, mapped by the user ID.
Guild::fetchInvites() — Method in class Guild
Fetches all invites of the guild. Resolves with a Collection of Invite instances, mapped by their code.
Guild::fetchMember() — Method in class Guild
Fetches a specific guild member. Resolves with an instance of GuildMember.
Guild::fetchMembers() — Method in class Guild
Fetches all guild members. If $query is used, $limit must be set to a non-zero integer. Resolves with $this.
Guild::fetchPruneMembers() — Method in class Guild
Fetches the amount of members from the guild based on how long they have been inactive which would be pruned. Resolves with an integer.
Guild::fetchVanityInvite() — Method in class Guild
Returns the vanity invite. The guild must be partnered, i.e. have 'VANITY_URL' in guild features. Resolves with an instance of Invite.
Guild::fetchVoiceRegions() — Method in class Guild
Fetches the guild voice regions. Resolves with a Collection of Voice Region instances, mapped by their ID.
Guild::fetchWebhooks() — Method in class Guild
Fetches the guild's webhooks. Resolves with a Collection of Webhook instances, mapped by their ID.
GuildMemberStorage::factory() — Method in class GuildMemberStorage
Factory to create (or retrieve existing) guild members.
GuildStorage::factory() — Method in class GuildStorage
Factory to create (or retrieve existing) guilds.
Message::fetchWebhook() — Method in class Message
Fetches the webhook used to create this message. Resolves with an instance of Webhook.
$MessageAttachment#filenameProperty in class MessageAttachment
The filename.
$MessageEmbed#footerProperty in class MessageEmbed
The footer in the format [ 'name' => string, 'icon' => string ], or null.
$MessageEmbed#fieldsProperty in class MessageEmbed
An array of embed fields in the format [ 'name' > string, 'value' => string, 'inline' => bool ].
MessageReaction::fetchUsers() — Method in class MessageReaction
Fetches all the users that gave this reaction. Resolves with a Collection of User instances, mapped by their IDs.
PresenceStorage::factory() — Method in class PresenceStorage
Factory to create presences.
RoleStorage::factory() — Method in class RoleStorage
Factory to create (or retrieve existing) roles.
Storage::filter() — Method in class Storage
Filters the storage by a given callback, keeping only those items that pass a given truth test. Returns a new Storage instance.
TextChannel::fetchWebhooks() — Method in class TextChannel
Fetches the channel's webhooks. Resolves with a Collection of Webhook instances, mapped by their ID.
User::fetchUserConnections() — Method in class User
Fetches the User's connections. Requires connections scope. Resolves with a Collection of UserConnection instances, mapped by their ID.
UserStorage::factory() — Method in class UserStorage
Factory to create (or retrieve existing) users.
$VoiceChannel#fullProperty in class VoiceChannel
Checks if the voice channel is full.
GuildChannelTrait::fetchInvites() — Method in class GuildChannelTrait
Fetches all invites of this channel. Resolves with a Collection of Invite instances, mapped by their code.
TextChannelTrait::fetchMessage() — Method in class TextChannelTrait
Fetches a specific message using the ID. Resolves with an instance of Message.
TextChannelTrait::fetchMessages() — Method in class TextChannelTrait
Fetches messages of this channel. Resolves with a Collection of Message instances, mapped by their ID.
$Collector#filterProperty in class Collector
FileHelpersClass in namespace CharlotteDunois\Yasmin\Utils
File Helper methods.
$FileHelpers#filesystemProperty in class FileHelpers

G

$Client#guildsProperty in class Client
Holds all guilds, mapped by ID.
$Client#gatewayProperty in class Client
Gateway address information.
Client::getLoop() — Method in class Client
Get the React Event Loop that is stored in this class.
Client::getOption() — Method in class Client
Get a specific option, or the default value.
Client::getPing() — Method in class Client
Calculates the average ping. Or NAN.
Client::getWSstatus() — Method in class Client
Returns the computed WS status across all shards.
Client::generateOAuthInvite() — Method in class Client
Generates a link that can be used to invite the bot to a guild. Resolves with a string.
Client::getAllIntents() — Method in class Client
Client::getUtils() — Method in class Client
Returns an array of classes with are registered as Util.
ClientEvents::guildCreate() — Method in class ClientEvents
Emitted when a guild gets joined.
ClientEvents::guildUpdate() — Method in class ClientEvents
Emitted when a guild gets updated.
ClientEvents::guildDelete() — Method in class ClientEvents
Emitted when a guild gets left.
ClientEvents::guildUnavailable() — Method in class ClientEvents
Emitted when a guild becomes (un)available.
ClientEvents::guildBanAdd() — Method in class ClientEvents
Emitted when someone gets banned.
ClientEvents::guildBanRemove() — Method in class ClientEvents
Emitted when someone gets unbanned.
ClientEvents::guildMemberAdd() — Method in class ClientEvents
Emitted when an user joins a guild.
ClientEvents::guildMemberUpdate() — Method in class ClientEvents
Emitted when a member gets updated.
ClientEvents::guildMemberRemove() — Method in class ClientEvents
Emitted when an user leaves a guild.
ClientEvents::guildMembersChunk() — Method in class ClientEvents
Emitted when the gateway sends requested members. The collection consists of GuildMember instances, mapped by their user ID.
$APIEndpoints#guildProperty in class APIEndpoints
The guild endpoints.
APIEndpoints::getCurrentApplication() — Method in class APIEndpoints
Gets the current OAuth application.
APIManager::getGateway() — Method in class APIManager
Gets the Gateway from the Discord API.
APIManager::getRatelimitEndpoint() — Method in class APIManager
Turns an endpoint path to the ratelimit path.
APIManager::getRatelimitBucket() — Method in class APIManager
Gets the ratelimit bucket for the specific endpoint.
APIRequest::getMethod() — Method in class APIRequest
Returns the request method.
APIRequest::getEndpoint() — Method in class APIRequest
Returns the endpoint path.
AthenaRatelimitBucket::getEndpoint() — Method in class AthenaRatelimitBucket
Returns the endpoint this bucket is for.
AthenaRatelimitBucket::getMeta() — Method in class AthenaRatelimitBucket
Retrieves ratelimit meta data.
AthenaRatelimitBucket::get() — Method in class AthenaRatelimitBucket
Retrieves the cache data.
Channel::getChannel() — Method in class Channel
Channel::getChannelMessages() — Method in class Channel
Channel::getChannelMessage() — Method in class Channel
Channel::getMessageReactions() — Method in class Channel
Channel::getChannelInvites() — Method in class Channel
Channel::getPinnedChannelMessages() — Method in class Channel
Channel::groupDMAddRecipient() — Method in class Channel
Channel::groupDMRemoveRecipient() — Method in class Channel
Emoji::getGuildEmoji() — Method in class Emoji
GuildClass in namespace CharlotteDunois\Yasmin\HTTP\Endpoints
Handles the API endpoints "Guild".
Guild::getGuild() — Method in class Guild
Guild::getGuildChannels() — Method in class Guild
Guild::getGuildMember() — Method in class Guild
Guild::getGuildBan() — Method in class Guild
Guild::getGuildBans() — Method in class Guild
Guild::getGuildRoles() — Method in class Guild
Guild::getGuildPruneCount() — Method in class Guild
Guild::getGuildVoiceRegions() — Method in class Guild
Guild::getGuildInvites() — Method in class Guild
Guild::getGuildIntegrations() — Method in class Guild
Guild::getGuildEmbed() — Method in class Guild
Guild::getGuildAuditLog() — Method in class Guild
Guild::getGuildVanityURL() — Method in class Guild
Invite::getInvite() — Method in class Invite
User::getCurrentUser() — Method in class User
User::getUser() — Method in class User
User::getCurrentUserGuilds() — Method in class User
User::getUserDMs() — Method in class User
User::getUserConnections() — Method in class User
Webhook::getChannelWebhooks() — Method in class Webhook
Webhook::getGuildsWebhooks() — Method in class Webhook
Webhook::getWebhook() — Method in class Webhook
Webhook::getWebhookToken() — Method in class Webhook
RatelimitBucket::getEndpoint() — Method in class RatelimitBucket
Returns the endpoint this bucket is for.
RatelimitBucket::getMeta() — Method in class RatelimitBucket
Retrieves ratelimit meta data.
ChannelInterface::getId() — Method in class ChannelInterface
Gets the channel's ID.
ChannelInterface::getCreatedTimestamp() — Method in class ChannelInterface
Gets the timestamp of when this channel was created.
ChannelStorageInterface::get() — Method in class ChannelStorageInterface
Returns the item at a given key. If the key does not exist, null is returned.
EmojiStorageInterface::get() — Method in class EmojiStorageInterface
Returns the item at a given key. If the key does not exist, null is returned.
GroupDMChannelInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all group direct message channels implement.
GuildChannelInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all guild channels implement.
GuildChannelInterface::getName() — Method in class GuildChannelInterface
Gets the channel's name.
GuildChannelInterface::getGuild() — Method in class GuildChannelInterface
Gets the associated guild.
GuildChannelInterface::getPosition() — Method in class GuildChannelInterface
Gets the channel's position.
GuildChannelInterface::getPermissionOverwrites() — Method in class GuildChannelInterface
Gets the channel's permission overwrites.
GuildChannelInterface::getParent() — Method in class GuildChannelInterface
Gets the channel's parent, or null.
GuildMemberStorageInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all guild member storages implement. The storage also is used as factory.
GuildMemberStorageInterface::get() — Method in class GuildMemberStorageInterface
Returns the item at a given key. If the key does not exist, null is returned.
GuildNewsChannelInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all guild news channels implement.
GuildStorageInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all guild storages implement. The storage also is used as factory.
GuildStorageInterface::get() — Method in class GuildStorageInterface
Returns the item at a given key. If the key does not exist, null is returned.
GuildStoreChannelInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all guild store channels implement.
GuildTextChannelInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all guild text channels implement.
GuildVoiceChannelInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all guild voice channels implement.
MessageStorageInterface::get() — Method in class MessageStorageInterface
Returns the item at a given key. If the key does not exist, null is returned.
PresenceStorageInterface::get() — Method in class PresenceStorageInterface
Returns the item at a given key. If the key does not exist, null is returned.
RatelimitBucketInterface::getEndpoint() — Method in class RatelimitBucketInterface
Returns the endpoint this bucket is for.
RatelimitBucketInterface::getMeta() — Method in class RatelimitBucketInterface
Retrieves ratelimit meta data.
RoleStorageInterface::get() — Method in class RoleStorageInterface
Returns the item at a given key. If the key does not exist, null is returned.
StorageInterface::get() — Method in class StorageInterface
Returns the item at a given key. If the key does not exist, null is returned.
TextChannelInterface::getMessages() — Method in class TextChannelInterface
Gets the storage with all cached messages.
TextChannelInterface::getLastMessageID() — Method in class TextChannelInterface
Gets the ID of the last sent message in this channel.
UserStorageInterface::get() — Method in class UserStorageInterface
Returns the item at a given key. If the key does not exist, null is returned.
WSCompressionInterface::getName() — Method in class WSCompressionInterface
Returns compression name (for gateway query string).
WSEncodingInterface::getName() — Method in class WSEncodingInterface
Returns encoding name (for gateway query string).
$AuditLog#guildProperty in class AuditLog
Which guild this audit log is for.
AuditLogEntry::getActionType() — Method in class AuditLogEntry
Finds the action type from the entry action.
AuditLogEntry::getTargetType() — Method in class AuditLogEntry
Finds the target type from the entry action.
$CategoryChannel#guildProperty in class CategoryChannel
The guild this category channel belongs to.
CategoryChannel::getChildren() — Method in class CategoryChannel
Returns all channels which are childrens of this category.
ChannelStorage::get() — Method in class ChannelStorage
Returns the item at a given key. If the key does not exist, null is returned.
ChannelStorage::getTypeForChannel() — Method in class ChannelStorage
Get the type for the channel.
$Emoji#guildProperty in class Emoji
The guild this emoji belongs to, or null.
Emoji::getImageURL() — Method in class Emoji
Get the image URL of the custom emoji.
$EmojiStorage#guildProperty in class EmojiStorage
The guild this storage belongs to.
EmojiStorage::get() — Method in class EmojiStorage
Returns the item at a given key. If the key does not exist, null is returned.
GroupDMChannelClass in namespace CharlotteDunois\Yasmin\Models
Represents a Group DM channel.
GroupDMChannel::getIconURL() — Method in class GroupDMChannel
Returns the group DM's icon URL, or null.
GuildClass in namespace CharlotteDunois\Yasmin\Models
Represents a guild. It's recommended to see if a guild is available before performing operations or reading data from it.
Guild::getBannerURL() — Method in class Guild
Returns the guild's banner URL, or null.
Guild::getIconURL() — Method in class Guild
Returns the guild's icon URL, or null.
Guild::getNameAcronym() — Method in class Guild
Returns the guild's name acronym.
Guild::getSplashURL() — Method in class Guild
Returns the guild's splash URL, or null.
GuildBanClass in namespace CharlotteDunois\Yasmin\Models
Represents a guild ban.
$GuildBan#guildProperty in class GuildBan
The guild this ban is from.
GuildForumChannelClass in namespace CharlotteDunois\Yasmin\Models
$GuildForumChannel#guildProperty in class GuildForumChannel
The associated guild.
GuildMemberClass in namespace CharlotteDunois\Yasmin\Models
Represents a guild member.
$GuildMember#guildProperty in class GuildMember
The guild this member belongs to.
GuildMember::getGuildAvatarURL() — Method in class GuildMember
Get the guild avatar URL.
GuildMember::getDisplayAvatarURL() — Method in class GuildMember
Get the URL of the displayed avatar.
GuildMember::getGuildBannerURL() — Method in class GuildMember
Get the guild banner URL. Currently not exposed to bots.
GuildMember::getDisplayBannerURL() — Method in class GuildMember
Get the URL of the displayed banner. Currently not exposed to bots.
GuildMember::getColorRole() — Method in class GuildMember
Gets the role the member is displayed with.
GuildMember::getDisplayColor() — Method in class GuildMember
Gets the displayed color of the member.
GuildMember::getDisplayHexColor() — Method in class GuildMember
Gets the displayed color of the member as hex string.
GuildMember::getHighestRole() — Method in class GuildMember
Gets the highest role of the member.
GuildMember::getHoistRole() — Method in class GuildMember
Gets the role the member is hoisted with.
GuildMemberStorageClass in namespace CharlotteDunois\Yasmin\Models
Guild Member Storage to store guild members, utilizes Collection.
$GuildMemberStorage#guildProperty in class GuildMemberStorage
The guild this storage belongs to.
GuildMemberStorage::get() — Method in class GuildMemberStorage
Returns the item at a given key. If the key does not exist, null is returned.
GuildStorageClass in namespace CharlotteDunois\Yasmin\Models
Guild Storage to store guilds, utilizes Collection.
GuildStorage::get() — Method in class GuildStorage
Returns the item at a given key. If the key does not exist, null is returned.
GuildStoreChannelClass in namespace CharlotteDunois\Yasmin\Models
Represents a guild's store channel.
$GuildStoreChannel#guildProperty in class GuildStoreChannel
The associated guild.
$Invite#guildProperty in class Invite
The guild which this invite belongs to, or null.
$Message#guildProperty in class Message
The correspondending guild (if message posted in a guild), or null.
Message::getJumpURL() — Method in class Message
Returns the jump to message link for this message.
MessageApplication::getCoverImageURL() — Method in class MessageApplication
Returns the URL of the cover image.
MessageStorage::get() — Method in class MessageStorage
Returns the item at a given key. If the key does not exist, null is returned.
OAuthApplication::getIconURL() — Method in class OAuthApplication
Returns the application's icon URL, or null.
PartialChannel::getIconURL() — Method in class PartialChannel
Returns the group DM's icon URL, or null.
PartialGuild::getIconURL() — Method in class PartialGuild
Returns the guild's icon URL, or null.
PartialGuild::getSplashURL() — Method in class PartialGuild
Returns the guild's splash URL, or null.
$PermissionOverwrite#guildProperty in class PermissionOverwrite
The guild this Permission Overwrite belongs to.
PresenceStorage::get() — Method in class PresenceStorage
Returns the item at a given key. If the key does not exist, null is returned.
RichPresenceAssets::getLargeImageURL() — Method in class RichPresenceAssets
Returns the URL of the large image.
RichPresenceAssets::getSmallImageURL() — Method in class RichPresenceAssets
Returns the URL of the small image.
$Role#guildProperty in class Role
The guild the role belongs to.
Role::getCalculatedPosition() — Method in class Role
Calculates the positon of the role in the Discord client.
$RoleStorage#guildProperty in class RoleStorage
The guild this storage belongs to.
RoleStorage::get() — Method in class RoleStorage
Returns the item at a given key. If the key does not exist, null is returned.
Storage::get() — Method in class Storage
Returns the item at a given key. If the key does not exist, null is returned.
$TextChannel#guildProperty in class TextChannel
The associated guild.
User::getDefaultAvatarURL() — Method in class User
Get the default avatar URL.
User::getAvatarURL() — Method in class User
Get the avatar URL.
User::getBannerURL() — Method in class User
Get the banner URL. Note that discord does not currently expose this to bots 🙃
User::getDisplayAvatarURL() — Method in class User
Get the URL of the displayed avatar.
User::getPresence() — Method in class User
Gets the presence for this user, or null.
UserStorage::get() — Method in class UserStorage
Returns the item at a given key. If the key does not exist, null is returned.
$VoiceChannel#guildProperty in class VoiceChannel
The guild the channel is in.
$Webhook#guildIDProperty in class Webhook
The guild ID the webhook belongs to, or null.
GuildChannelTraitClass in namespace CharlotteDunois\Yasmin\Traits
The trait all guild channels use.
TextChannelTrait::getLastMessage() — Method in class TextChannelTrait
Gets the last message in this channel if cached, or null.
FileHelpers::getFilesystem() — Method in class FileHelpers
Returns the stored React Filesystem instance, or null.
ImageHelpers::getImageExtension() — Method in class ImageHelpers
Returns the default extension for an image.
Snowflake::generate() — Method in class Snowflake
Generates a new snowflake.
Snowflake::getShardID() — Method in class Snowflake
Compute the shard ID from the snowflake.
URLHelpers::getHTTPClient() — Method in class URLHelpers
Returns the client. This method may be changed at any time.
ZlibStream::getName() — Method in class ZlibStream
Returns compression name (for gateway query string).
Etf::getName() — Method in class Etf
Returns encoding name (for gateway query string).
Json::getName() — Method in class Json
Returns encoding name (for gateway query string).
GuildBanAddClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
GuildBanRemoveClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
GuildCreateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
GuildDeleteClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
GuildEmojisUpdateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
GuildIntegrationsUpdateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
GuildMemberAddClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
GuildMemberRemoveClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
GuildMemberUpdateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
GuildMembersChunkClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
GuildRoleCreateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
GuildRoleDeleteClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
GuildRoleUpdateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
GuildUpdateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
Dispatch::getEvent() — Method in class Dispatch
Returns a WS event.
WSConnection::getSessionID() — Method in class WSConnection
Get the session ID.
WSHandler::getHandler() — Method in class WSHandler
Returns a WS handler.
$WSManager#gatewayProperty in class WSManager
$WSManager#gatewayQSProperty in class WSManager
The WS gateway query string.
$WebhookClient#guildIDProperty in class WebhookClient
The guild the webhook belongs to, or null.

H

Client::handlePromiseRejection() — Method in class Client
Emits an error for an unhandled promise rejection.
APIManager::handleRatelimit() — Method in class APIManager
Handles ratelimits.
APIRequest::handleAPIError() — Method in class APIRequest
Handles an API error.
AthenaRatelimitBucket::handleRatelimit() — Method in class AthenaRatelimitBucket
Sets the ratelimits from the response
RatelimitBucket::handleRatelimit() — Method in class RatelimitBucket
Sets the ratelimits from the response.
ChannelStorageInterface::has() — Method in class ChannelStorageInterface
Determines if a given key exists in the collection.
EmojiStorageInterface::has() — Method in class EmojiStorageInterface
Determines if a given key exists in the collection.
GuildMemberStorageInterface::has() — Method in class GuildMemberStorageInterface
Determines if a given key exists in the collection.
GuildStorageInterface::has() — Method in class GuildStorageInterface
Determines if a given key exists in the collection.
MessageStorageInterface::has() — Method in class MessageStorageInterface
Determines if a given key exists in the collection.
PresenceStorageInterface::has() — Method in class PresenceStorageInterface
Determines if a given key exists in the collection.
RatelimitBucketInterface::handleRatelimit() — Method in class RatelimitBucketInterface
Sets the ratelimits from the response.
StorageInterface::has() — Method in class StorageInterface
Determines if a given key exists in the collection.
UserStorageInterface::has() — Method in class UserStorageInterface
Determines if a given key exists in the collection.
WSEventInterface::handle() — Method in class WSEventInterface
Handles events.
WSHandlerInterface::handle() — Method in class WSHandlerInterface
Handles packets.
ChannelStorage::has() — Method in class ChannelStorage
Determines if a given key exists in the collection.
EmojiStorage::has() — Method in class EmojiStorage
Determines if a given key exists in the collection.
GuildMemberStorage::has() — Method in class GuildMemberStorage
Determines if a given key exists in the collection.
GuildStorage::has() — Method in class GuildStorage
Determines if a given key exists in the collection.
$MessageAttachment#heightProperty in class MessageAttachment
The height (if image), or null.
MessageStorage::has() — Method in class MessageStorage
Determines if a given key exists in the collection.
Permissions::has() — Method in class Permissions
Checks if a given permission is granted.
PresenceStorage::has() — Method in class PresenceStorage
Determines if a given key exists in the collection.
$Role#hoistProperty in class Role
Whether the role gets displayed separately in the member list.
$Role#hexColorProperty in class Role
Returns the hex color of the role color.
RoleStorage::has() — Method in class RoleStorage
Determines if a given key exists in the collection.
Storage::has() — Method in class Storage
Determines if a given key exists in the collection.
UserStorage::has() — Method in class UserStorage
Determines if a given key exists in the collection.
$Collector#handlerProperty in class Collector
$URLHelpers#httpProperty in class URLHelpers
ChannelCreate::handle() — Method in class ChannelCreate
Handles events.
ChannelDelete::handle() — Method in class ChannelDelete
Handles events.
ChannelPinsUpdate::handle() — Method in class ChannelPinsUpdate
Handles events.
ChannelUpdate::handle() — Method in class ChannelUpdate
Handles events.
GuildBanAdd::handle() — Method in class GuildBanAdd
Handles events.
GuildBanRemove::handle() — Method in class GuildBanRemove
Handles events.
GuildCreate::handle() — Method in class GuildCreate
Handles events.
GuildDelete::handle() — Method in class GuildDelete
Handles events.
GuildEmojisUpdate::handle() — Method in class GuildEmojisUpdate
Handles events.
GuildIntegrationsUpdate::handle() — Method in class GuildIntegrationsUpdate
Handles events.
GuildMemberAdd::handle() — Method in class GuildMemberAdd
Handles events.
GuildMemberRemove::handle() — Method in class GuildMemberRemove
Handles events.
GuildMemberUpdate::handle() — Method in class GuildMemberUpdate
Handles events.
GuildMembersChunk::handle() — Method in class GuildMembersChunk
Handles events.
GuildRoleCreate::handle() — Method in class GuildRoleCreate
Handles events.
GuildRoleDelete::handle() — Method in class GuildRoleDelete
Handles events.
GuildRoleUpdate::handle() — Method in class GuildRoleUpdate
Handles events.
GuildUpdate::handle() — Method in class GuildUpdate
Handles events.
InviteCreate::handle() — Method in class InviteCreate
Handles events.
InviteDelete::handle() — Method in class InviteDelete
Handles events.
MessageCreate::handle() — Method in class MessageCreate
Handles events.
MessageDelete::handle() — Method in class MessageDelete
Handles events.
MessageDeleteBulk::handle() — Method in class MessageDeleteBulk
Handles events.
MessageReactionAdd::handle() — Method in class MessageReactionAdd
Handles events.
MessageReactionRemove::handle() — Method in class MessageReactionRemove
Handles events.
MessageReactionRemoveAll::handle() — Method in class MessageReactionRemoveAll
Handles events.
MessageUpdate::handle() — Method in class MessageUpdate
Handles events.
PresenceUpdate::handle() — Method in class PresenceUpdate
Handles events.
Ready::handle() — Method in class Ready
Handles events.
Resumed::handle() — Method in class Resumed
Handles events.
TypingStart::handle() — Method in class TypingStart
Handles events.
UserUpdate::handle() — Method in class UserUpdate
Handles events.
VoiceServerUpdate::handle() — Method in class VoiceServerUpdate
Handles events.
VoiceStateUpdate::handle() — Method in class VoiceStateUpdate
Handles events.
Dispatch::handle() — Method in class Dispatch
Handles packets.
HeartbeatClass in namespace CharlotteDunois\Yasmin\WebSocket\Handlers
WS Event handler
$Heartbeat#heartbeatProperty in class Heartbeat
Heartbeat::handle() — Method in class Heartbeat
Handles packets.
HeartbeatAckClass in namespace CharlotteDunois\Yasmin\WebSocket\Handlers
WS Event handler
HeartbeatAck::handle() — Method in class HeartbeatAck
Handles packets.
HelloClass in namespace CharlotteDunois\Yasmin\WebSocket\Handlers
WS Event handler
Hello::handle() — Method in class Hello
Handles packets.
InvalidSession::handle() — Method in class InvalidSession
Handles packets.
Reconnect::handle() — Method in class Reconnect
Handles packets.
$WSConnection#heartbeatProperty in class WSConnection
WSConnection::heartbeat() — Method in class WSConnection
Sends a heartbeat.
WSConnection::heartFailure() — Method in class WSConnection
Handles heart failures.
$WSHandler#handlersProperty in class WSHandler
The handlers for WS messages, mapped by name.
WSHandler::handle() — Method in class WSHandler
Handles a message.
WSManager::handleConnectEncoding() — Method in class WSManager
Handles the connect encoding for the query string.
WSManager::handleConnectGateway() — Method in class WSManager
Handles the connect gateway URL in terms to the query string.

I

ClientEvents::inviteCreate() — Method in class ClientEvents
Emitted when an invite is created
ClientEvents::inviteDelete() — Method in class ClientEvents
Emitted when an invite is deleted
$APIEndpoints#inviteProperty in class APIEndpoints
The invite endpoints.
APIRequest::isReactionEndpoint() — Method in class APIRequest
Returns whether this request is to a reaction endpoint.
AthenaRatelimitBucket::isBusy() — Method in class AthenaRatelimitBucket
Whether we are busy.
InviteClass in namespace CharlotteDunois\Yasmin\HTTP\Endpoints
Handles the API endpoints "Invite".
RatelimitBucket::isBusy() — Method in class RatelimitBucket
Whether we are busy.
DMChannelInterface::isRecipient() — Method in class DMChannelInterface
Determines whether a given user is a recipient of this channel.
RatelimitBucketInterface::isBusy() — Method in class RatelimitBucketInterface
Whether we are busy.
StorageInterface::indexOf() — Method in class StorageInterface
Returns the position of the given value in the storage. Returns null if the given value couldn't be found.
TextChannelInterface::isTyping() — Method in class TextChannelInterface
Determines whether the given user is typing in this channel or not.
WSCompressionInterface::isPayloadCompression() — Method in class WSCompressionInterface
Returns a boolean for the OP code 2 IDENTIFY packet 'compress' parameter. The parameter is for payload compression.
WSCompressionInterface::init() — Method in class WSCompressionInterface
Initializes the context.
Activity::isRichPresence() — Method in class Activity
Whether this activity is a rich presence.
$AuditLogEntry#idProperty in class AuditLogEntry
The ID of the audit log.
$CategoryChannel#idProperty in class CategoryChannel
The ID of the channel.
$DMChannel#idProperty in class DMChannel
The channel ID.
DMChannel::isRecipient() — Method in class DMChannel
Determines whether a given user is a recipient of this channel.
$Emoji#idProperty in class Emoji
The emoji ID, or null for unicode emoji.
$Emoji#identifierProperty in class Emoji
The identifier for the emoji.
$GroupDMChannel#iconProperty in class GroupDMChannel
The icon of the Group DM channel.
$Guild#idProperty in class Guild
The guild ID.
$Guild#iconProperty in class Guild
The guild icon hash, or null.
$GuildForumChannel#idProperty in class GuildForumChannel
The channel ID.
$GuildMember#idProperty in class GuildMember
The ID of the member.
GuildMember::isBannable() — Method in class GuildMember
Whether the member can be banned by the client user.
GuildMember::isKickable() — Method in class GuildMember
Whether the member can be kicked by the client user.
$GuildStoreChannel#idProperty in class GuildStoreChannel
The channel ID.
InviteClass in namespace CharlotteDunois\Yasmin\Models
Represents an invite.
$Invite#inviterProperty in class Invite
The inviter, or null.
$Message#idProperty in class Message
The message ID.
$MessageApplication#idProperty in class MessageApplication
The ID of the application.
$MessageApplication#iconProperty in class MessageApplication
The hash of the application icon, or null.
$MessageAttachment#idProperty in class MessageAttachment
The attachment ID.
$MessageEmbed#imageProperty in class MessageEmbed
The image in the format [ 'url' => string, 'height' => int, 'width' => int ], or null.
$OAuthApplication#idProperty in class OAuthApplication
The application ID.
$OAuthApplication#iconProperty in class OAuthApplication
The hash of the application hash, or null.
$PartialChannel#idProperty in class PartialChannel
The channel ID.
$PartialChannel#iconProperty in class PartialChannel
The icon of the channel, or null.
$PartialGuild#idProperty in class PartialGuild
The guild ID.
$PartialGuild#iconProperty in class PartialGuild
The guild icon, or null.
$PermissionOverwrite#idProperty in class PermissionOverwrite
The ID of the Permission Overwrite.
$Role#idProperty in class Role
The role ID.
Role::isEditable() — Method in class Role
Whether the role can be edited by the client user.
$Shard#idProperty in class Shard
The shard ID.
$TextChannel#idProperty in class TextChannel
The channel ID.
$User#idProperty in class User
The user ID.
$UserConnection#idProperty in class UserConnection
The ID of the connection account.
$VoiceChannel#idProperty in class VoiceChannel
The ID of the channel.
$VoiceRegion#idProperty in class VoiceRegion
The ID of the region.
$Webhook#idProperty in class Webhook
The webhook ID.
GuildChannelTrait::isPermissionsLocked() — Method in class GuildChannelTrait
Whether the permission overwrites match the parent channel (permissions synced).
TextChannelTrait::isTyping() — Method in class TextChannelTrait
Determines whether the given user is typing in this channel or not.
TextChannelTrait::isTypingSince() — Method in class TextChannelTrait
Determines whether how long the given user has been typing in this channel. Returns -1 if the user is not typing.
ImageHelpersClass in namespace CharlotteDunois\Yasmin\Utils
Image Helper utilities.
ImageHelpers::isPowerOfTwo() — Method in class ImageHelpers
Returns whether the input number is a power of 2.
$Snowflake#incrementIndexProperty in class Snowflake
$Snowflake#incrementTimeProperty in class Snowflake
$Snowflake#incrementProperty in class Snowflake
The increment index of the snowflake.
URLHelpers::internalSetClient() — Method in class URLHelpers
Sets the client.
ZlibStream::isPayloadCompression() — Method in class ZlibStream
Returns a boolean for the OP code 2 IDENTIFY packet 'compress' parameter. The parameter is for payload compression.
ZlibStream::init() — Method in class ZlibStream
Initializes the context.
InviteCreateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
InviteDeleteClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
$PresenceUpdate#ignoreUnknownProperty in class PresenceUpdate
Whether we ignore events from unknown users.
InvalidSessionClass in namespace CharlotteDunois\Yasmin\WebSocket\Handlers
WS Event handler
WSConnection::initWS() — Method in class WSConnection
Initializes the websocet.
WSConnection::initWSSelfReady() — Method in class WSConnection
Returns the handler for self.ready event.
WSConnection::initWSSelfError() — Method in class WSConnection
Returns the handler for self.error event.
WSConnection::initWSMessage() — Method in class WSConnection
Returns the handler for message event.
WSConnection::initWSError() — Method in class WSConnection
Returns the handler for error event.
WSConnection::initWSClose() — Method in class WSConnection
Returns the handler for close event.
$WebhookClient#idProperty in class WebhookClient
The webhook ID.

J

$APIRequest#jsonOptionsProperty in class APIRequest
The JSON encode/decode options.
Activity::jsonSerialize() — Method in class Activity
AuditLogEntry::jsonSerialize() — Method in class AuditLogEntry
Base::jsonSerialize() — Method in class Base
ClientBase::jsonSerialize() — Method in class ClientBase
ClientStatus::jsonSerialize() — Method in class ClientStatus
$GuildMember#joinedTimestampProperty in class GuildMember
The timestamp of when this member joined.
$GuildMember#joinedAtProperty in class GuildMember
An DateTime instance of joinedTimestamp.
PermissionOverwrite::jsonSerialize() — Method in class PermissionOverwrite
Permissions::jsonSerialize() — Method in class Permissions
Presence::jsonSerialize() — Method in class Presence
RichPresenceAssets::jsonSerialize() — Method in class RichPresenceAssets
JsonClass in namespace CharlotteDunois\Yasmin\WebSocket\Encoding
Handles WS encoding.

K

ChannelStorageInterface::key() — Method in class ChannelStorageInterface
Fetch the key from the current element. From Iterator interface.
EmojiStorageInterface::key() — Method in class EmojiStorageInterface
Fetch the key from the current element. From Iterator interface.
GuildMemberStorageInterface::key() — Method in class GuildMemberStorageInterface
Fetch the key from the current element. From Iterator interface.
GuildStorageInterface::key() — Method in class GuildStorageInterface
Fetch the key from the current element. From Iterator interface.
MessageStorageInterface::key() — Method in class MessageStorageInterface
Fetch the key from the current element. From Iterator interface.
PresenceStorageInterface::key() — Method in class PresenceStorageInterface
Fetch the key from the current element. From Iterator interface.
RoleStorageInterface::key() — Method in class RoleStorageInterface
Fetch the key from the current element. From Iterator interface.
StorageInterface::key() — Method in class StorageInterface
Fetch the key from the current element. From Iterator interface.
UserStorageInterface::key() — Method in class UserStorageInterface
Fetch the key from the current element. From Iterator interface.
GuildMember::kick() — Method in class GuildMember
Kicks the guild member.

L

$Client#loopProperty in class Client
The event loop.
Client::login() — Method in class Client
Login into Discord. Opens a WebSocket Gateway connection. Resolves once a WebSocket connection has been successfully established (does not mean the client is ready).
$APIManager#loopProperty in class APIManager
$APIManager#limitedProperty in class APIManager
Are we globally ratelimited?
$APIManager#limitProperty in class APIManager
Global rate limit limit.
Emoji::listGuildEmojis() — Method in class Emoji
Guild::listGuildMembers() — Method in class Guild
User::leaveUserGuild() — Method in class User
Voice::listVoiceRegions() — Method in class Voice
$RatelimitBucket#limitProperty in class RatelimitBucket
The requests limit.
GuildChannelInterface::lockPermissions() — Method in class GuildChannelInterface
Locks in the permission overwrites from the parent channel. Resolves with $this.
StorageInterface::last() — Method in class StorageInterface
Returns the last element that passes a given truth test.
$AuditLogEntry#logProperty in class AuditLogEntry
The guild audit log which this entry belongs to.
$DMChannel#lastMessageIDProperty in class DMChannel
The last message ID, or null.
$Guild#largeProperty in class Guild
Whether the guild is considered large.
$Guild#lazyProperty in class Guild
Whether this guild is run in lazy mode (on the Discord node).
Guild::leave() — Method in class Guild
Leaves the guild.
$RichPresenceAssets#largeImageProperty in class RichPresenceAssets
The ID of the large image, or null.
$RichPresenceAssets#largeTextProperty in class RichPresenceAssets
The text of the large image, or null.
$TextChannel#lastMessageIDProperty in class TextChannel
The last message ID, or null.
GuildChannelTrait::lockPermissions() — Method in class GuildChannelTrait
Locks in the permission overwrites from the parent channel. Resolves with $this.
$TextChannelTrait#lastMessageIDProperty in class TextChannelTrait
The last message's ID, or null.
$Collector#listenerProperty in class Collector
$Collector#loopProperty in class Collector
$FileHelpers#loopProperty in class FileHelpers
$URLHelpers#loopProperty in class URLHelpers
$WSConnection#lastPacketTimeProperty in class WSConnection
The timestamp of when we received the last event.
$WSManager#lastIdentifyProperty in class WSManager

M

ClientEvents::messageDeleteRaw() — Method in class ClientEvents
Emitted when an uncached message gets deleted.
ClientEvents::messageDeleteBulkRaw() — Method in class ClientEvents
Emitted when multple uncached messages gets deleted.
ClientEvents::messageUpdateRaw() — Method in class ClientEvents
Emitted when an uncached message gets updated (does not mean the message got edited, check the edited timestamp for that).
ClientEvents::message() — Method in class ClientEvents
Emitted when a message gets received.
ClientEvents::messageUpdate() — Method in class ClientEvents
Emitted when a (cached) message gets updated (does not mean the message got edited, check the edited timestamp for that).
ClientEvents::messageDelete() — Method in class ClientEvents
Emitted when a (cached) message gets deleted.
ClientEvents::messageDeleteBulk() — Method in class ClientEvents
Emitted when multiple (cached) message gets deleted. The collection consists of Message instances, mapped by their ID.
ClientEvents::messageReactionAdd() — Method in class ClientEvents
Emitted when someone reacts to a (cached) message.
ClientEvents::messageReactionRemove() — Method in class ClientEvents
Emitted when a reaction from a (cached) message gets removed.
ClientEvents::messageReactionRemoveAll() — Method in class ClientEvents
Emitted when all reactions from a (cached) message gets removed.
APIManager::makeRequest() — Method in class APIManager
Makes an API request.
Channel::modifyChannel() — Method in class Channel
Emoji::modifyGuildEmoji() — Method in class Emoji
Guild::modifyGuild() — Method in class Guild
Guild::modifyGuildChannelPositions() — Method in class Guild
Guild::modifyGuildMember() — Method in class Guild
Guild::modifyCurrentNick() — Method in class Guild
Guild::modifyGuildRolePositions() — Method in class Guild
Guild::modifyGuildRole() — Method in class Guild
Guild::modifyGuildIntegration() — Method in class Guild
Guild::modifyGuildEmbed() — Method in class Guild
User::modifyCurrentUser() — Method in class User
Webhook::modifyWebhook() — Method in class Webhook
Webhook::modifyWebhookToken() — Method in class Webhook
MessageStorageInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all message storages implement. The storage also is used as factory.
StorageInterface::max() — Method in class StorageInterface
Return the maximum value of a given key.
StorageInterface::min() — Method in class StorageInterface
Return the minimum value of a given key.
$ClientStatus#mobileProperty in class ClientStatus
The status of the user on the mobile client.
$DMChannel#messagesProperty in class DMChannel
The storage with all cached messages.
$Emoji#managedProperty in class Emoji
Is the emoji managed?
$Guild#membersProperty in class Guild
Holds a guild's cached members, mapped by their ID.
$Guild#memberCountProperty in class Guild
How many members the guild has.
$Guild#mfaLevelProperty in class Guild
The required MFA level for the guild. ({see Guild::MFA_LEVEL})
$Guild#maxPresencesProperty in class Guild
The maximum amount of presences the guild can have, or null.
$Guild#maxMembersProperty in class Guild
The maximum amount of members the guild can have, or null.
$Guild#meProperty in class Guild
The guild member of the client user.
$GuildMember#muteProperty in class GuildMember
Whether the member is server muted.
$Invite#maxUsesProperty in class Invite
Maximum uses until the invite expires, or null.
$Invite#maxAgeProperty in class Invite
Duration (in seconds) until the invite expires, or null.
$Invite#memberCountProperty in class Invite
Approximate amount of members, or null.
MessageClass in namespace CharlotteDunois\Yasmin\Models
Represents a message.
$Message#mentionsProperty in class Message
All valid mentions that the message contains.
$Message#memberProperty in class Message
The correspondending guildmember of the author (if message posted in a guild), or null.
MessageActivityClass in namespace CharlotteDunois\Yasmin\Models
Represents a message activity.
MessageApplicationClass in namespace CharlotteDunois\Yasmin\Models
Represents a message application.
MessageAttachmentClass in namespace CharlotteDunois\Yasmin\Models
Represents an attachment (from a message).
MessageEmbedClass in namespace CharlotteDunois\Yasmin\Models
Represents a received embed from a message. This class can also be used to make a Rich Embed.
MessageMentionsClass in namespace CharlotteDunois\Yasmin\Models
Holds message mentions.
$MessageMentions#messageProperty in class MessageMentions
The message these mentions belongs to.
$MessageMentions#membersProperty in class MessageMentions
The collection which holds all members mentions (only in guild channels), mapped by their ID. Only cached members can be put into this Collection.
MessageReactionClass in namespace CharlotteDunois\Yasmin\Models
Represents a message reaction.
$MessageReaction#messageProperty in class MessageReaction
The message this reaction belongs to.
$MessageReaction#meProperty in class MessageReaction
Whether the current user has reacted using this emoji.
MessageStorageClass in namespace CharlotteDunois\Yasmin\Models
Message Storage to store and handle messages, utilizes Collection.
Permissions::missing() — Method in class Permissions
Checks if a given permission is missing.
$Role#managedProperty in class Role
Whether the role is managed by an integration.
$Role#mentionableProperty in class Role
Whether the role is mentionable.
$Role#membersProperty in class Role
A collection of all (cached) guild members which have the role.
$TextChannel#messagesProperty in class TextChannel
The storage with all cached messages.
$User#mfaEnabledProperty in class User
Whether the user has two factor enabled on their account, or null if no information provided.
$VoiceChannel#membersProperty in class VoiceChannel
Holds all members which currently are in the voice channel. ({see \CharlotteDunois\Yasmin\Models\GuildMember})
DataHelpers::makeDateTime() — Method in class DataHelpers
Makes a DateTime instance from an UNIX timestamp and applies the default timezone.
DataHelpers::makeBase64URI() — Method in class DataHelpers
Turns input into a base64-encoded data URI.
MessageHelpersClass in namespace CharlotteDunois\Yasmin\Utils
Message Helper methods.
URLHelpers::makeRequest() — Method in class URLHelpers
Makes an asynchronous request. Resolves with an instance of ResponseInterface.
MessageCreateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
MessageDeleteClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
MessageDeleteBulkClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
MessageReactionAddClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
MessageReactionRemoveClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
MessageReactionRemoveAllClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
MessageUpdateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event

N

ChannelStorageInterface::next() — Method in class ChannelStorageInterface
Advances the internal pointer. From Iterator interface.
EmojiStorageInterface::next() — Method in class EmojiStorageInterface
Advances the internal pointer. From Iterator interface.
GuildMemberStorageInterface::next() — Method in class GuildMemberStorageInterface
Advances the internal pointer. From Iterator interface.
GuildStorageInterface::next() — Method in class GuildStorageInterface
Advances the internal pointer. From Iterator interface.
MessageStorageInterface::next() — Method in class MessageStorageInterface
Advances the internal pointer. From Iterator interface.
PresenceStorageInterface::next() — Method in class PresenceStorageInterface
Advances the internal pointer. From Iterator interface.
RoleStorageInterface::next() — Method in class RoleStorageInterface
Advances the internal pointer. From Iterator interface.
StorageInterface::next() — Method in class StorageInterface
Advances the internal pointer. From Iterator interface.
UserStorageInterface::next() — Method in class UserStorageInterface
Advances the internal pointer. From Iterator interface.
$Activity#nameProperty in class Activity
The name of the activity.
$CategoryChannel#nameProperty in class CategoryChannel
The channel name.
$Emoji#nameProperty in class Emoji
The emoji name.
$Guild#nameProperty in class Guild
The guild name.
$GuildForumChannel#nameProperty in class GuildForumChannel
The channel name.
$GuildForumChannel#nsfwProperty in class GuildForumChannel
Whether the channel is marked as NSFW or not.
$GuildMember#nicknameProperty in class GuildMember
The nickname of the member, or null.
$GuildStoreChannel#nameProperty in class GuildStoreChannel
The channel name.
$GuildStoreChannel#nsfwProperty in class GuildStoreChannel
Whether the channel is marked as NSFW or not.
$Message#nonceProperty in class Message
A snowflake used for checking message delivery, or null.
$MessageApplication#nameProperty in class MessageApplication
The name of the application.
$OAuthApplication#nameProperty in class OAuthApplication
The name of the application.
$PartialChannel#nameProperty in class PartialChannel
The channel name, or null.
$PartialGuild#nameProperty in class PartialGuild
The guild name.
$Role#nameProperty in class Role
The role name.
$TextChannel#nameProperty in class TextChannel
The channel name.
$TextChannel#nsfwProperty in class TextChannel
Whether the channel is marked as NSFW or not.
$UserConnection#nameProperty in class UserConnection
The username of the connection account.
$VoiceChannel#nameProperty in class VoiceChannel
The name of the channel.
$VoiceRegion#nameProperty in class VoiceRegion
The name of the region.
$Webhook#nameProperty in class Webhook
The webhook default name, or null.
$WebhookClient#nameProperty in class WebhookClient
The webhook default name, or null.

O

$Client#optionsProperty in class Client
Client Options.
Client::on() — Method in class Client
Attach a listener to an event. The method is from the trait - only for documentation purpose here.
Client::once() — Method in class Client
Attach a listener to an event, for exactly once. The method is from the trait - only for documentation purpose here.
$APIRequest#optionsProperty in class APIRequest
Any request options.
GuildChannelInterface::overwritesFor() — Method in class GuildChannelInterface
Returns the permissions overwrites for the given member.
GuildChannelInterface::overwritePermissions() — Method in class GuildChannelInterface
Overwrites the permissions for a member or role in this channel. Resolves with an instance of PermissionOverwrite.
$DMChannel#ownerIDProperty in class DMChannel
The owner ID of this channel, or null.
$DMChannel#ownerProperty in class DMChannel
The owner of this channel, or null.
$Guild#ownerIDProperty in class Guild
The ID of the owner.
OAuthApplicationClass in namespace CharlotteDunois\Yasmin\Models
Represents an OAuth Application.
$OAuthApplication#ownerProperty in class OAuthApplication
The User instance of the owner, or null.
$VoiceRegion#optimalProperty in class VoiceRegion
Whether this is an optimal voice region for the client user.
$Webhook#ownerProperty in class Webhook
The owner of the webhook, or null.
GuildChannelTrait::overwritesFor() — Method in class GuildChannelTrait
Returns the permissions overwrites for the given member as an associative array.
GuildChannelTrait::overwritePermissions() — Method in class GuildChannelTrait
Overwrites the permissions for a member or role in this channel. Resolves with an instance of PermissionOverwrite.
$Collector#optionsProperty in class Collector
$WebhookClient#ownerProperty in class WebhookClient
The owner of the webhook, or null.

P

$Client#presencesProperty in class Client
Holds all cached presences (latest ones), mapped by user ID.
$Client#pingsProperty in class Client
The last 3 websocket pings of each shard.
ClientEvents::presenceUpdate() — Method in class ClientEvents
Emitted when a presence updates.
APIManager::processFuture() — Method in class APIManager
Processes the queue on future tick.
APIManager::processDelayed() — Method in class APIManager
Processes the queue delayed, depends on rest time offset.
APIManager::process() — Method in class APIManager
Processes the queue.
APIManager::processItem() — Method in class APIManager
Processes a queue item.
AthenaRatelimitBucket::push() — Method in class AthenaRatelimitBucket
Pushes a new request into the queue.
$DiscordAPIException#pathProperty in class DiscordAPIException
The path of the request relative to the HTTP endpoint.
Channel::pinChannelMessage() — Method in class Channel
RatelimitBucket::push() — Method in class RatelimitBucket
Pushes a new request into the queue.
GuildChannelInterface::permissionsFor() — Method in class GuildChannelInterface
Returns the permissions for the given member.
PresenceStorageInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all presence storages implement. The storage also is used as factory.
RatelimitBucketInterface::push() — Method in class RatelimitBucketInterface
Pushes a new request into the queue.
UserStorageInterface::patch() — Method in class UserStorageInterface
Patches an user (retrieves the user if the user exists), returns null if only the ID is in the array, or creates an user.
WSEncodingInterface::prepareMessage() — Method in class WSEncodingInterface
Prepares the data to be sent.
$Activity#partyProperty in class Activity
Party of the activity, an array in the format [ 'id' => string, 'size' => [ size (int), max (int|null) ]|null ], or null.
$CategoryChannel#positionProperty in class CategoryChannel
The channel position.
$CategoryChannel#permissionOverwritesProperty in class CategoryChannel
A collection of PermissionOverwrite instances.
$Guild#presencesProperty in class Guild
Holds a guild's presences of members, mapped by user ID.
$Guild#premiumTierProperty in class Guild
The premium (discord nitro) tier of the Guild. see the PREMIUM_TIER const
Guild::pruneMembers() — Method in class Guild
Prunes members from the guild based on how long they have been inactive. Resolves with an integer or null.
$GuildForumChannel#parentIDProperty in class GuildForumChannel
The ID of the parent channel, or null.
$GuildForumChannel#positionProperty in class GuildForumChannel
The channel position.
$GuildForumChannel#permissionOverwritesProperty in class GuildForumChannel
A collection of PermissionOverwrite instances, mapped by their ID.
$GuildMember#permissionsProperty in class GuildMember
The permissions of the member, only taking roles into account.
$GuildMember#presenceProperty in class GuildMember
The presence of the member in this guild, or null.
GuildMember::permissionsIn() — Method in class GuildMember
Returns permissions for a member in a guild channel, taking into account roles and permission overwrites.
$GuildStoreChannel#parentIDProperty in class GuildStoreChannel
The ID of the parent channel, or null.
$GuildStoreChannel#positionProperty in class GuildStoreChannel
The channel position.
$GuildStoreChannel#permissionOverwritesProperty in class GuildStoreChannel
A collection of PermissionOverwrite instances, mapped by their ID.
$GuildStoreChannel#parentProperty in class GuildStoreChannel
The channel's parent, or null.
$Invite#presenceCountProperty in class Invite
Approximate amount of presences, or null.
$Message#pinnedProperty in class Message
Whether the message is pinned or not.
Message::pin() — Method in class Message
Pins the message. Resolves with $this.
$MessageActivity#partyIDProperty in class MessageActivity
The party ID associated with this message activity, or null.
$MessageEmbed#providerProperty in class MessageEmbed
The provider in the format [ 'name' => string, 'url' => string ], or null.
PartialChannelClass in namespace CharlotteDunois\Yasmin\Models
Represents a partial channel (of a guild or a group DM).
PartialGuildClass in namespace CharlotteDunois\Yasmin\Models
Represents a partial guild.
PermissionOverwriteClass in namespace CharlotteDunois\Yasmin\Models
Represents a permission overwrite.
PermissionsClass in namespace CharlotteDunois\Yasmin\Models
Permissions. Something fabulous.
PresenceClass in namespace CharlotteDunois\Yasmin\Models
Represents a presence.
PresenceStorageClass in namespace CharlotteDunois\Yasmin\Models
Presence Storage, which utilizes Collection.
$Role#positionProperty in class Role
The position of the role in the API.
$Role#permissionsProperty in class Role
The permissions of the role.
$TextChannel#parentIDProperty in class TextChannel
The ID of the parent channel, or null.
$TextChannel#positionProperty in class TextChannel
The channel position.
$TextChannel#permissionOverwritesProperty in class TextChannel
A collection of PermissionOverwrite instances, mapped by their ID.
$TextChannel#parentProperty in class TextChannel
The channel's parent, or null.
UserStorage::patch() — Method in class UserStorage
Patches an user (retrieves the user if the user exists), returns null if only the ID is in the array, or creates an user.
$VoiceChannel#parentIDProperty in class VoiceChannel
The ID of the parent channel, or null.
$VoiceChannel#positionProperty in class VoiceChannel
The position of the channel.
$VoiceChannel#permissionOverwritesProperty in class VoiceChannel
A collection of PermissionOverwrite instances, mapped by their ID.
$VoiceChannel#parentProperty in class VoiceChannel
Returns the channel's parent, or null.
GuildChannelTrait::permissionsFor() — Method in class GuildChannelTrait
Returns the permissions for the given member.
MessageHelpers::parseMentions() — Method in class MessageHelpers
Parses mentions in a text. Resolves with an array of [ 'type' => string, 'ref' => Models ] arrays, in the order they were parsed.
$Snowflake#processIDProperty in class Snowflake
The ID of the process which generated this snowflake.
Etf::prepareMessage() — Method in class Etf
Prepares the data to be sent.
Json::prepareMessage() — Method in class Json
Prepares the data to be sent.
PresenceUpdateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
$WSConnection#previousProperty in class WSConnection
Whether we should use the previous sequence for RESUME (for after compress context failure).
$WSConnection#previousSequenceProperty in class WSConnection
The previous sequence.
$WSConnection#pingsProperty in class WSConnection
WSConnection::processQueue() — Method in class WSConnection
Processes the WS queue.

Q

Client::queuedEmit() — Method in class Client
Puts events into a queue, if the client is not ready yet.
$APIManager#queueProperty in class APIManager
The queue for our API requests.
$AthenaRatelimitBucket#queueProperty in class AthenaRatelimitBucket
The request queue.
$RatelimitBucket#queueProperty in class RatelimitBucket
The request queue.
$WSConnection#queueProperty in class WSConnection
The WS queue.

R

$Client#readyTimestampProperty in class Client
The UNIX timestamp of the last emitted ready event (or null if none yet).
Client::registerUtil() — Method in class Client
Registers an Util, if it has a setLoop method. All methods used need to be static.
Client::registerUtils() — Method in class Client
Registers Utils which have a setLoop method.
Client::removeListener() — Method in class Client
Remove specified listener from an event. The method is from the trait - only for documentation purpose here.
Client::removeAllListeners() — Method in class Client
Remove all listeners from an event (or all listeners).
ClientEvents::ready() — Method in class ClientEvents
Emitted each time the client turns ready.
ClientEvents::reconnect() — Method in class ClientEvents
Emitted when the shard tries to reconnect.
ClientEvents::raw() — Method in class ClientEvents
Emitted when we receive a message from the gateway.
ClientEvents::ratelimit() — Method in class ClientEvents
Ratelimit information.
ClientEvents::roleCreate() — Method in class ClientEvents
Emitted when a role gets created.
ClientEvents::roleUpdate() — Method in class ClientEvents
Emitted when a role gets updated.
ClientEvents::roleDelete() — Method in class ClientEvents
Emitted when a role gets deleted.
$APIManager#ratelimitsProperty in class APIManager
$APIManager#remainingProperty in class APIManager
Global rate limit remaining.
$APIManager#resetTimeProperty in class APIManager
When can we send again?
$APIRequest#retriesProperty in class APIRequest
How many times we've retried.
APIRequest::request() — Method in class APIRequest
Returns the Guzzle Request.
Guild::removeGuildMember() — Method in class Guild
Guild::removeGuildMemberRole() — Method in class Guild
Guild::removeGuildBan() — Method in class Guild
RatelimitBucketClass in namespace CharlotteDunois\Yasmin\HTTP
Manages a route's ratelimit in memory.
$RatelimitBucket#remainingProperty in class RatelimitBucket
How many requests can be made.
$RatelimitBucket#resetTimeProperty in class RatelimitBucket
When the ratelimit gets reset.
ChannelStorageInterface::rewind() — Method in class ChannelStorageInterface
Resets the internal pointer. From Iterator interface.
ChannelStorageInterface::resolve() — Method in class ChannelStorageInterface
Resolves given data to a channel.
EmojiStorageInterface::rewind() — Method in class EmojiStorageInterface
Resets the internal pointer. From Iterator interface.
EmojiStorageInterface::resolve() — Method in class EmojiStorageInterface
Resolves given data to an emoji.
GuildMemberStorageInterface::rewind() — Method in class GuildMemberStorageInterface
Resets the internal pointer. From Iterator interface.
GuildMemberStorageInterface::resolve() — Method in class GuildMemberStorageInterface
Resolves given data to a guildmember.
GuildStorageInterface::rewind() — Method in class GuildStorageInterface
Resets the internal pointer. From Iterator interface.
GuildStorageInterface::resolve() — Method in class GuildStorageInterface
Resolves given data to a guild.
MessageStorageInterface::rewind() — Method in class MessageStorageInterface
Resets the internal pointer. From Iterator interface.
PresenceStorageInterface::rewind() — Method in class PresenceStorageInterface
Resets the internal pointer. From Iterator interface.
PresenceStorageInterface::resolve() — Method in class PresenceStorageInterface
Resolves given data to a presence.
RatelimitBucketInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
This interface defines required methods and their arguments for managing route ratelimits using various systems.
The ratelimit bucket queue is always managed in memory (as in belongs to that process), however the ratelimits are distributed to the used system.
RoleStorageInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all role storages implement. The storage also is used as factory.
RoleStorageInterface::rewind() — Method in class RoleStorageInterface
Resets the internal pointer. From Iterator interface.
RoleStorageInterface::resolve() — Method in class RoleStorageInterface
Resolves given data to a Role.
StorageInterface::rewind() — Method in class StorageInterface
Resets the internal pointer. From Iterator interface.
StorageInterface::reduce() — Method in class StorageInterface
Reduces the collection to a single value, passing the result of each iteration into the subsequent iteration.
UserStorageInterface::rewind() — Method in class UserStorageInterface
Resets the internal pointer. From Iterator interface.
UserStorageInterface::resolve() — Method in class UserStorageInterface
Resolves given data to an user.
$AuditLogEntry#reasonProperty in class AuditLogEntry
The specified reason, or null.
ChannelStorage::resolve() — Method in class ChannelStorage
Resolves given data to a channel.
$DMChannel#recipientsProperty in class DMChannel
The recipients of this channel, mapped by user ID.
$Emoji#rolesProperty in class Emoji
A collection of roles that this emoji is active for (empty if all).
$Emoji#requireColonsProperty in class Emoji
Does the emoji require colons?
Emoji::removeRestrictedRole() — Method in class Emoji
Removes a role from the list of roles that can use this emoji. Resolves with $this.
Emoji::removeRestrictedRoles() — Method in class Emoji
Removes multiple roles from the list of roles that can use this emoji. Resolves with $this.
EmojiStorage::resolve() — Method in class EmojiStorage
Resolves given data to an emoji.
GroupDMChannel::removeRecipient() — Method in class GroupDMChannel
Removes the given user from the Group DM channel. Resolves with $this.
$Guild#rolesProperty in class Guild
Holds a guild's roles, mapped by their ID.
$Guild#regionProperty in class Guild
The region the guild is located in.
$GuildBan#reasonProperty in class GuildBan
The ban reason, or null.
$GuildMember#rolesProperty in class GuildMember
A Collection of all roles the member has, mapped by their ID. ({see \CharlotteDunois\Yasmin\Models\Role})
GuildMember::removeRole() — Method in class GuildMember
Removes a role from the guild member. Resolves with $this.
GuildMember::removeRoles() — Method in class GuildMember
Removes roles from the guild member. Resolves with $this.
GuildMemberStorage::resolve() — Method in class GuildMemberStorage
Resolves given data to a guildmember.
GuildStorage::resolve() — Method in class GuildStorage
Resolves given data to a guild.
$Message#replySeparatorProperty in class Message
The string used in Message::reply to separate the mention and the content.
$Message#reactionsProperty in class Message
A collection of message reactions, mapped by ID (or name). ({see \CharlotteDunois\Yasmin\Models\MessageReaction})
$Message#replyToProperty in class Message
The message being replied to, or null.
$Message#replyToIDProperty in class Message
he message ID being replied to, or null.
Message::react() — Method in class Message
Reacts to the message with the specified unicode or custom emoji. Resolves with an instance of MessageReaction.
Message::reply() — Method in class Message
Replies to the message. Resolves with an instance of Message, or with a Collection of Message instances, mapped by their ID.
$MessageMentions#rolesProperty in class MessageMentions
The collection which holds all roles mentions, mapped by their ID.
MessageReaction::remove() — Method in class MessageReaction
Remove all reactions, or specify a User to remove only theirs. Resolves with $this.
$OAuthApplication#rpcOriginsProperty in class OAuthApplication
An array of RPC origin url strings, if RPC is enabled, or null.
Permissions::remove() — Method in class Permissions
Removes permissions from these ones.
Permissions::resolve() — Method in class Permissions
Resolves a permission name to number.
Permissions::resolveToName() — Method in class Permissions
Resolves a permission number to the name. Also checks if a given name is a valid permission.
PresenceStorage::resolve() — Method in class PresenceStorage
Resolves given data to a presence.
RichPresenceAssetsClass in namespace CharlotteDunois\Yasmin\Models
Rich Presence assets.
RoleClass in namespace CharlotteDunois\Yasmin\Models
Represents a role.
RoleStorageClass in namespace CharlotteDunois\Yasmin\Models
Role Storage to store a guild's roles, utilizes Collection.
RoleStorage::resolve() — Method in class RoleStorage
Resolves given data to a Role.
$UserConnection#revokedProperty in class UserConnection
Whether the connection is revoked.
UserStorage::resolve() — Method in class UserStorage
Resolves given data to an user.
$Collector#resolveProperty in class Collector
$Collector#rejectProperty in class Collector
DataHelpers::resolveColor() — Method in class DataHelpers
Resolves a color to an integer.
FileHelpers::resolveFileResolvable() — Method in class FileHelpers
Resolves filepath and URL into file data - returns it if it's neither. Resolves with a string.
MessageHelpers::resolveMessageOptionsFiles() — Method in class MessageHelpers
Resolves files of Message Options.
URLHelpers::resolveURLToData() — Method in class URLHelpers
Asynchronously resolves a given URL to the response body. Resolves with a string.
$GuildCreate#readyProperty in class GuildCreate
Whether we saw the client going ready.
ReadyClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
$Ready#readyProperty in class Ready
Whether we saw the client going ready.
ResumedClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
$TypingStart#readyProperty in class TypingStart
Whether we saw the client going ready.
Dispatch::register() — Method in class Dispatch
Registers an event.
ReconnectClass in namespace CharlotteDunois\Yasmin\WebSocket\Handlers
WS Event handler
$WSConnection#ratelimitsProperty in class WSConnection
The WS ratelimits.
$WSConnection#runningProperty in class WSConnection
The WS queue processing status.
$WSConnection#readyProperty in class WSConnection
WSConnection::reconnect() — Method in class WSConnection
Closes the WS connection.
WSConnection::renewConnection() — Method in class WSConnection
Closes the WS connection.
WSHandler::register() — Method in class WSHandler
Registers a handler.
$WSManager#readyConnsProperty in class WSManager

S

$Client#shardsProperty in class Client
Holds all shards, mapped by shard ID.
Client::setClientUser() — Method in class Client
Make an instance of {ClientUser} and store it.
AthenaRatelimitBucket::setBusy() — Method in class AthenaRatelimitBucket
Sets the busy flag (marking as running).
AthenaRatelimitBucket::size() — Method in class AthenaRatelimitBucket
Returns the size of the queue
AthenaRatelimitBucket::shift() — Method in class AthenaRatelimitBucket
Returns the first queue item or false. Modifies remaining ratelimit.
AthenaRatelimitBucket::set() — Method in class AthenaRatelimitBucket
Sets the cache data.
Guild::syncGuildIntegration() — Method in class Guild
RatelimitBucket::setBusy() — Method in class RatelimitBucket
Sets the busy flag (marking as running).
RatelimitBucket::size() — Method in class RatelimitBucket
Returns the size of the queue.
RatelimitBucket::shift() — Method in class RatelimitBucket
Returns the first queue item or false. Modifies remaining ratelimit.
ChannelStorageInterface::set() — Method in class ChannelStorageInterface
Sets a key-value pair.
EmojiStorageInterface::set() — Method in class EmojiStorageInterface
Sets a key-value pair.
GuildChannelInterface::setName() — Method in class GuildChannelInterface
Sets the name of the channel. Resolves with $this.
GuildChannelInterface::setNSFW() — Method in class GuildChannelInterface
Sets the nsfw flag of the channel. Resolves with $this.
GuildChannelInterface::setParent() — Method in class GuildChannelInterface
Sets the parent of the channel. Resolves with $this.
GuildChannelInterface::setPermissionOverwrites() — Method in class GuildChannelInterface
Sets the permission overwrites of the channel. Resolves with $this.
GuildChannelInterface::setPosition() — Method in class GuildChannelInterface
Sets the position of the channel. Resolves with $this.
GuildMemberStorageInterface::set() — Method in class GuildMemberStorageInterface
Sets a key-value pair.
GuildNewsChannelInterface::setTopic() — Method in class GuildNewsChannelInterface
Sets the topic of the channel. Resolves with $this.
GuildStorageInterface::set() — Method in class GuildStorageInterface
Sets a key-value pair.
GuildTextChannelInterface::setSlowmode() — Method in class GuildTextChannelInterface
Sets the slowmode in seconds for this channel.
GuildTextChannelInterface::setTopic() — Method in class GuildTextChannelInterface
Sets the topic of the channel. Resolves with $this.
GuildVoiceChannelInterface::setTopic() — Method in class GuildVoiceChannelInterface
Sets the topic of the channel. Resolves with $this.
MessageStorageInterface::set() — Method in class MessageStorageInterface
Sets a key-value pair.
PresenceStorageInterface::set() — Method in class PresenceStorageInterface
Sets a key-value pair.
RatelimitBucketInterface::setBusy() — Method in class RatelimitBucketInterface
Sets the busy flag (marking as running).
RatelimitBucketInterface::size() — Method in class RatelimitBucketInterface
Returns the size of the queue.
RatelimitBucketInterface::shift() — Method in class RatelimitBucketInterface
Returns the first queue item or false. Modifies remaining ratelimit.
RoleStorageInterface::set() — Method in class RoleStorageInterface
Sets a key-value pair.
StorageInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all storages implement. The storage also is used as factory.
StorageInterface::set() — Method in class StorageInterface
Sets a key-value pair.
StorageInterface::sort() — Method in class StorageInterface
Sorts the collection. Returns a new Storage instance.
StorageInterface::sortKey() — Method in class StorageInterface
Sorts the collection by key. Returns a new Storage instance.
StorageInterface::sortCustom() — Method in class StorageInterface
Sorts the collection using a custom sorting function. Returns a new Storage instance.
StorageInterface::sortCustomKey() — Method in class StorageInterface
Sorts the collection by key using a custom sorting function. Returns a new Storage instance.
TextChannelInterface::send() — Method in class TextChannelInterface
Sends a message to a channel. Resolves with an instance of Message, or a Collection of Message instances, mapped by their ID.
TextChannelInterface::startTyping() — Method in class TextChannelInterface
Starts sending the typing indicator in this channel. Counts up a triggered typing counter.
TextChannelInterface::stopTyping() — Method in class TextChannelInterface
Stops sending the typing indicator in this channel. Counts down a triggered typing counter.
UserStorageInterface::set() — Method in class UserStorageInterface
Sets a key-value pair.
WSCompressionInterface::supported() — Method in class WSCompressionInterface
Checks if the system supports it.
WSEncodingInterface::supported() — Method in class WSEncodingInterface
Checks if the system supports it.
$Activity#stateProperty in class Activity
State of the activity, or null.
$Activity#sessionIDProperty in class Activity
The ID that links to the activity session.
$Activity#syncIDProperty in class Activity
The sync ID. For spotify, this is the spotify track ID.
$Activity#streamingProperty in class Activity
Whether or not the activity is being streamed.
Base::serialize() — Method in class Base
ChannelStorage::set() — Method in class ChannelStorage
Sets a key-value pair.
$ClientBase#serializeClientProperty in class ClientBase
The client which will be used to unserialize.
ClientBase::serialize() — Method in class ClientBase
ClientUser::setAvatar() — Method in class ClientUser
Set your avatar. Resolves with $this.
ClientUser::setStatus() — Method in class ClientUser
Set your status. Resolves with $this.
ClientUser::setPresence() — Method in class ClientUser
Set your presence. Ratelimit is 5/60s, the gateway drops all further presence updates. Resolves with $this.
ClientUser::setActivity() — Method in class ClientUser
Set your activity. Resolves with $this.
ClientUser::setUsername() — Method in class ClientUser
Set your username. Resolves with $this.
Emoji::setName() — Method in class Emoji
Sets the new name of the emoji. Resolves with $this.
EmojiStorage::set() — Method in class EmojiStorage
Sets a key-value pair.
$Guild#shardIDProperty in class Guild
On which shard this guild is.
$Guild#splashProperty in class Guild
The guild splash hash, or null.
$Guild#systemChannelIDProperty in class Guild
The ID of the system channel, or null.
$Guild#systemChannelProperty in class Guild
The guild's system channel, or null.
Guild::setAFKChannel() — Method in class Guild
Edits the AFK channel of the guild. Resolves with $this.
Guild::setAFKTimeout() — Method in class Guild
Edits the AFK timeout of the guild. Resolves with $this.
Guild::setChannelPositions() — Method in class Guild
Batch-updates the guild's channels positions. Channels is an array of channel ID (string)|GuildChannelInterface => position (int) pairs. Resolves with $this.
Guild::setRolePositions() — Method in class Guild
Batch-updates the guild's roles positions. Roles is an array of role ID (string)|Role => position (int) pairs. Resolves with $this.
Guild::setExplicitContentFilter() — Method in class Guild
Edits the level of the explicit content filter. Resolves with $this.
Guild::setIcon() — Method in class Guild
Updates the guild icon. Resolves with $this.
Guild::setName() — Method in class Guild
Edits the name of the guild. Resolves with $this.
Guild::setOwner() — Method in class Guild
Sets a new owner for the guild. Resolves with $this.
Guild::setRegion() — Method in class Guild
Edits the region of the guild. Resolves with $this.
Guild::setSplash() — Method in class Guild
Updates the guild splash. Resolves with $this.
Guild::setSystemChannel() — Method in class Guild
Edits the system channel of the guild. Resolves with $this.
Guild::setVerificationLevel() — Method in class Guild
Edits the verification level of the guild. Resolves with $this.
$GuildMember#selfDeafProperty in class GuildMember
Whether the member is locally deafened.
$GuildMember#selfMuteProperty in class GuildMember
Whether the member is locally muted.
$GuildMember#suppressProperty in class GuildMember
Whether you suppress the member.
GuildMember::setDeaf() — Method in class GuildMember
Deafen/undeafen a guild member. Resolves with $this.
GuildMember::setMute() — Method in class GuildMember
Mute/unmute a guild member. Resolves with $this.
GuildMember::setNickname() — Method in class GuildMember
Set the nickname of the guild member. Resolves with $this.
GuildMember::setRoles() — Method in class GuildMember
Sets the roles of the guild member. Resolves with $this.
GuildMember::setVoiceChannel() — Method in class GuildMember
Moves the guild member to the given voice channel, if connected to voice. Resolves with $this.
GuildMemberStorage::set() — Method in class GuildMemberStorage
Sets a key-value pair.
GuildStorage::set() — Method in class GuildStorage
Sets a key-value pair.
$Message#systemProperty in class Message
Whether the message is a system message.
$MessageAttachment#sizeProperty in class MessageAttachment
The filesize in bytes.
MessageAttachment::setAttachment() — Method in class MessageAttachment
Sets the attachment.
MessageEmbed::setAuthor() — Method in class MessageEmbed
Set the author of this embed.
MessageEmbed::setColor() — Method in class MessageEmbed
Set the color of this embed.
MessageEmbed::setDescription() — Method in class MessageEmbed
Set the description of this embed.
MessageEmbed::setFooter() — Method in class MessageEmbed
Set the footer of this embed.
MessageEmbed::setImage() — Method in class MessageEmbed
Set the image of this embed.
MessageEmbed::setThumbnail() — Method in class MessageEmbed
Set the thumbnail of this embed.
MessageEmbed::setTimestamp() — Method in class MessageEmbed
Set the timestamp of this embed.
MessageEmbed::setTitle() — Method in class MessageEmbed
Set the title of this embed.
MessageEmbed::setURL() — Method in class MessageEmbed
Set the URL of this embed.
MessageStorage::set() — Method in class MessageStorage
Sets a key-value pair.
MessageStorage::sweep() — Method in class MessageStorage
Sweeps messages, deletes messages older than the parameter (timestamp - $time). Returns the amount of sweeped messages.
$PartialGuild#splashProperty in class PartialGuild
The guild splash, or null.
$Presence#statusProperty in class Presence
What do you expect this to be?
PresenceStorage::set() — Method in class PresenceStorage
Sets a key-value pair.
$RichPresenceAssets#smallImageProperty in class RichPresenceAssets
The ID of the small image, or null.
$RichPresenceAssets#smallTextProperty in class RichPresenceAssets
The text of the small image, or null.
Role::setColor() — Method in class Role
Set the color of the role. Resolves with $this.
Role::setHoist() — Method in class Role
Set whether or not the role should be hoisted. Resolves with $this.
Role::setMentionable() — Method in class Role
Set whether the role is mentionable. Resolves with $this.
Role::setName() — Method in class Role
Set a new name for the role. Resolves with $this.
Role::setPermissions() — Method in class Role
Set the permissions of the role. Resolves with $this.
Role::setPosition() — Method in class Role
Set the position of the role. Resolves with $this.
RoleStorage::set() — Method in class RoleStorage
Sets a key-value pair.
ShardClass in namespace CharlotteDunois\Yasmin\Models
Represents a shard.
Shard::serialize() — Method in class Shard
StorageClass in namespace CharlotteDunois\Yasmin\Models
Base class for all storages.
Storage::set() — Method in class Storage
Sets a key-value pair.
Storage::sort() — Method in class Storage
Sorts the collection. Returns a new Storage instance.
Storage::sortKey() — Method in class Storage
Sorts the collection by key. Returns a new Storage instance.
Storage::sortCustom() — Method in class Storage
Sorts the collection using a custom sorting function. Returns a new Storage instance.
Storage::sortCustomKey() — Method in class Storage
Sorts the collection by key using a custom sorting function. Returns a new Storage instance.
$TextChannel#slowmodeProperty in class TextChannel
Ratelimit to send one message for each non-bot user, without MANAGE_CHANNEL and MANAGE_MESSAGES permissions, in seconds (0-120).
TextChannel::setSlowmode() — Method in class TextChannel
Sets the slowmode in seconds for this channel.
UserStorage::set() — Method in class UserStorage
Sets a key-value pair.
UserStorage::sweep() — Method in class UserStorage
Sweeps users falling out of scope (no mutual guilds). Returns the amount of sweeped users.
VoiceChannel::setBitrate() — Method in class VoiceChannel
Sets the bitrate of the channel. Resolves with $this.
VoiceChannel::setUserLimit() — Method in class VoiceChannel
Sets the user limit of the channel. Resolves with $this.
Webhook::send() — Method in class Webhook
Executes the webhooks and sends a message to the channel. Resolves with an instance of Message, or a Collection of Message instances, mapped by their ID. Or when using the WebhookClient, it will resolve with a raw Message object (array) or an array of raw Message objects (array).
GuildChannelTrait::setName() — Method in class GuildChannelTrait
Sets the name of the channel. Resolves with $this.
GuildChannelTrait::setNSFW() — Method in class GuildChannelTrait
Sets the nsfw flag of the channel. Resolves with $this.
GuildChannelTrait::setParent() — Method in class GuildChannelTrait
Sets the parent of the channel. Resolves with $this.
GuildChannelTrait::setPermissionOverwrites() — Method in class GuildChannelTrait
Sets the permission overwrites of the channel. Resolves with $this.
GuildChannelTrait::setPosition() — Method in class GuildChannelTrait
Sets the position of the channel. Resolves with $this.
GuildChannelTrait::setTopic() — Method in class GuildChannelTrait
Sets the topic of the channel. Resolves with $this.
TextChannelTrait::serialize() — Method in class TextChannelTrait
TextChannelTrait::send() — Method in class TextChannelTrait
Sends a message to a channel. Resolves with an instance of Message, or a Collection of Message instances, mapped by their ID.
TextChannelTrait::startTyping() — Method in class TextChannelTrait
Starts sending the typing indicator in this channel. Counts up a triggered typing counter.
TextChannelTrait::stopTyping() — Method in class TextChannelTrait
Stops sending the typing indicator in this channel. Counts down a triggered typing counter.
Collector::setLoop() — Method in class Collector
Sets the Event Loop.
Collector::stop() — Method in class Collector
This will stop the collector.
FileHelpers::setLoop() — Method in class FileHelpers
Sets the Event Loop.
FileHelpers::setFilesystem() — Method in class FileHelpers
Sets the React Filesystem instance, or disables it.
MessageHelpers::splitMessage() — Method in class MessageHelpers
Splits a string into multiple chunks at a designated character that do not exceed a specific length.
SnowflakeClass in namespace CharlotteDunois\Yasmin\Utils
Represents a Snowflake.
URLHelpers::setLoop() — Method in class URLHelpers
Sets the Event Loop.
URLHelpers::setHTTPClient() — Method in class URLHelpers
Set the HTTP client used in Yasmin (and in this utility).
ZlibStream::supported() — Method in class ZlibStream
Checks if the system supports it.
Etf::supported() — Method in class Etf
Checks if the system supports it.
Json::supported() — Method in class Json
Checks if the system supports it.
$WSConnection#shardIDProperty in class WSConnection
$WSConnection#sequenceProperty in class WSConnection
The sequence.
$WSConnection#statusProperty in class WSConnection
WSConnection::send() — Method in class WSConnection
WSConnection::setAuthenticated() — Method in class WSConnection
Set authenticated.
WSConnection::setSessionID() — Method in class WSConnection
Set the session ID.
WSConnection::setSequence() — Method in class WSConnection
Sets the sequence.
WSConnection::sendIdentify() — Method in class WSConnection
Sends an IDENTIFY or RESUME payload, depending on ws session ID.
WSManager::setLastIdentified() — Method in class WSManager
Set last identified timestamp

T

$Client#tokenProperty in class Client
The token.
$Client#timersProperty in class Client
Timers which automatically get cancelled on destroy and only get run when we have a WS connection.
ClientEvents::typingStart() — Method in class ClientEvents
Emitted when someone starts typing in the channel.
ClientEvents::typingStop() — Method in class ClientEvents
Emitted when someone stops typing in the channel.
Channel::triggerChannelTyping() — Method in class Channel
TextChannelInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all text channels implement.
TextChannelInterface::typingCount() — Method in class TextChannelInterface
Returns the amount of user typing in this channel.
$Activity#typeProperty in class Activity
The activity type.
$Activity#timestampsProperty in class Activity
Timestamps for the activity, an array in the format [ 'start' => \DateTime|null, 'end' => \DateTime|null ], or null.
$AuditLogEntry#targetProperty in class AuditLogEntry
The target of this entry, or null.
$Invite#temporaryProperty in class Invite
If this invite grants temporary membership, or null.
$Message#ttsProperty in class Message
Whether or not the message is Text-To-Speech.
$Message#typeProperty in class Message
The type of the message. ({see Message::MESSAGE_TYPES})
$MessageActivity#typeProperty in class MessageActivity
The message activity type. ({see self::TYPES})
$MessageEmbed#typeProperty in class MessageEmbed
The embed type.
$MessageEmbed#titleProperty in class MessageEmbed
The title, or null.
$MessageEmbed#timestampProperty in class MessageEmbed
The timestamp, or the set timestamp (as ISO string), or null.
$MessageEmbed#thumbnailProperty in class MessageEmbed
The thumbnail in the format [ 'url' => string, 'height' => int, 'width' => int ], or null.
$MessageStorage#timerProperty in class MessageStorage
The sweep timer, or null.
$PartialChannel#typeProperty in class PartialChannel
The type of the channel.
$PermissionOverwrite#typeProperty in class PermissionOverwrite
The type of the overwrite (member or role).
$PermissionOverwrite#targetProperty in class PermissionOverwrite
The role or guild member, or null if not a cached member.
TextChannelClass in namespace CharlotteDunois\Yasmin\Models
Represents a guild's text channel.
$TextChannel#topicProperty in class TextChannel
The channel topic.
$User#tagProperty in class User
Username#Discriminator.
$UserConnection#typeProperty in class UserConnection
The type of the user connection (e.g. twitch, youtube).
$UserStorage#timerProperty in class UserStorage
The sweep timer, or null.
$Webhook#tokenProperty in class Webhook
The webhook token, or null.
TextChannelTraitClass in namespace CharlotteDunois\Yasmin\Traits
The text based channel trait.
$TextChannelTrait#typingsProperty in class TextChannelTrait
Collection of all typing users (contains arrays).
$TextChannelTrait#typingTriggeredProperty in class TextChannelTrait
Triggered typings in this channel.
TextChannelTrait::typingCount() — Method in class TextChannelTrait
Returns the amount of user typing in this channel.
$Collector#timerProperty in class Collector
DataHelpers::typecastVariable() — Method in class DataHelpers
Typecasts the variable to the type, if not null.
$Snowflake#timestampProperty in class Snowflake
The timestamp of when this snowflake got generated. In seconds with microseconds.
TypingStartClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
$WebhookClient#tokenProperty in class WebhookClient
The webhook token.

U

$Client#usersProperty in class Client
Holds all cached users, mapped by ID.
$Client#userProperty in class Client
User that the client is logged in as. The instance gets created when the client turns ready.
$Client#utilsProperty in class Client
Loaded Utils with a loop instance.
ClientEvents::userUpdate() — Method in class ClientEvents
Emitted when someone updates their user account (username/avatar/etc.).
$APIEndpoints#userProperty in class APIEndpoints
The user endpoints.
APIManager::unshiftQueue() — Method in class APIManager
Unshifts an item into the queue.
$APIRequest#urlProperty in class APIRequest
The url.
AthenaRatelimitBucket::unshift() — Method in class AthenaRatelimitBucket
Unshifts a new request into the queue. Modifies remaining ratelimit.
Channel::unpinChannelMessage() — Method in class Channel
UserClass in namespace CharlotteDunois\Yasmin\HTTP\Endpoints
Handles the API endpoints "User".
RatelimitBucket::unshift() — Method in class RatelimitBucket
Unshifts a new request into the queue. Modifies remaining ratelimit.
RatelimitBucketInterface::unshift() — Method in class RatelimitBucketInterface
Unshifts a new request into the queue. Modifies remaining ratelimit.
UserStorageInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all user storages implement. The storage also is used as factory.
$Activity#urlProperty in class Activity
The stream url, if streaming.
$AuditLog#usersProperty in class AuditLog
Holds the found users in the audit log, mapped by their ID.
$AuditLogEntry#userIDProperty in class AuditLogEntry
The ID of the user which triggered the audit log.
$AuditLogEntry#userProperty in class AuditLogEntry
The user which triggered the audit log.
Base::unserialize() — Method in class Base
ClientBase::unserialize() — Method in class ClientBase
$Emoji#userProperty in class Emoji
The user that created the emoji, or null.
$Emoji#uidProperty in class Emoji
The used identifier in the system (ID or name, that is).
Guild::unban() — Method in class Guild
Unbans the given user. Resolves with $this.
$GuildBan#userProperty in class GuildBan
The banned user.
GuildBan::unban() — Method in class GuildBan
Unbans the user.
$GuildMember#userProperty in class GuildMember
The User instance of the member. This should never be null, unless you fuck up.
$Invite#usesProperty in class Invite
Number of times this invite has been used, or null.
$Invite#urlProperty in class Invite
Returns the URL for the invite.
Message::unpin() — Method in class Message
Unpins the message. Resolves with $this.
$MessageActivity#userProperty in class MessageActivity
The user this message activity is for.
$MessageAttachment#urlProperty in class MessageAttachment
The url to the file.
$MessageEmbed#urlProperty in class MessageEmbed
The URL, or null.
$MessageMentions#usersProperty in class MessageMentions
The collection which holds all users mentions, mapped by their ID.
$MessageReaction#usersProperty in class MessageReaction
The users that have given this reaction, mapped by their ID.
$Presence#userIDProperty in class Presence
The user ID this presence belongs to.
$Presence#userProperty in class Presence
The user this presence belongs to.
UserClass in namespace CharlotteDunois\Yasmin\Models
Represents an user on Discord.
$User#usernameProperty in class User
The username.
$User#userFetchedProperty in class User
Whether the user fetched this user.
UserConnectionClass in namespace CharlotteDunois\Yasmin\Models
Represents an user connection.
$UserConnection#userProperty in class UserConnection
The user which this user connection belongs to.
UserStorageClass in namespace CharlotteDunois\Yasmin\Models
User Storage to store and cache users, which utlizies Collection.
$VoiceChannel#userLimitProperty in class VoiceChannel
The maximum amount of users allowed in the channel - 0 means unlimited.
URLHelpersClass in namespace CharlotteDunois\Yasmin\Utils
URL Helper methods.
UserUpdateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event

V

Client::validateClientOptions() — Method in class Client
Validates the passed client options.
ClientEvents::voiceServerUpdate() — Method in class ClientEvents
Emitted when Discord responds to the user's Voice State Update event.
ClientEvents::voiceStateUpdate() — Method in class ClientEvents
Emitted when a member's voice state changes (leaves/joins/etc.).
$APIEndpoints#voiceProperty in class APIEndpoints
The voice endpoints.
VoiceClass in namespace CharlotteDunois\Yasmin\HTTP\Endpoints
Handles the API endpoints "Voice".
ChannelStorageInterface::valid() — Method in class ChannelStorageInterface
Checks if current position is valid. From Iterator interface.
EmojiStorageInterface::valid() — Method in class EmojiStorageInterface
Checks if current position is valid. From Iterator interface.
GuildMemberStorageInterface::valid() — Method in class GuildMemberStorageInterface
Checks if current position is valid. From Iterator interface.
GuildStorageInterface::valid() — Method in class GuildStorageInterface
Checks if current position is valid. From Iterator interface.
MessageStorageInterface::valid() — Method in class MessageStorageInterface
Checks if current position is valid. From Iterator interface.
PresenceStorageInterface::valid() — Method in class PresenceStorageInterface
Checks if current position is valid. From Iterator interface.
RoleStorageInterface::valid() — Method in class RoleStorageInterface
Checks if current position is valid. From Iterator interface.
StorageInterface::valid() — Method in class StorageInterface
Checks if current position is valid. From Iterator interface.
UserStorageInterface::valid() — Method in class UserStorageInterface
Checks if current position is valid. From Iterator interface.
VoiceChannelInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Something all voice channels implement.
$Guild#verificationLevelProperty in class Guild
The verification level of the guild. ({see Guild::VERIFICATION_LEVEL})
$Guild#vanityInviteCodeProperty in class Guild
The vanity invite code, or null.
$Guild#vanityURLProperty in class Guild
Whether the guild has a vanity invite url.
$Guild#verifiedProperty in class Guild
Whether the guild is verified.
$GuildMember#voiceChannelIDProperty in class GuildMember
The ID of the voice channel the member is in, or null.
$GuildMember#voiceSessionIDProperty in class GuildMember
The voice session ID, or null.
$GuildMember#voiceChannelProperty in class GuildMember
The voice channel the member is in, if connected to voice, or null.
$MessageEmbed#videoProperty in class MessageEmbed
The video in the format [ 'url' => string, 'height' => int, 'width' => int ], or null.
$User#verifiedProperty in class User
Whether the email on this account has been verified, or null if no information provided.
VoiceChannelClass in namespace CharlotteDunois\Yasmin\Models
Represents a guild's voice channel.
VoiceRegionClass in namespace CharlotteDunois\Yasmin\Models
Represents a voice region.
$VoiceRegion#vipProperty in class VoiceRegion
Whether this is a VIP voice region.
GuildChannelTrait::validateOverwritePermissions() — Method in class GuildChannelTrait
Validates the given overwritePermissions arguments.
$Snowflake#valueProperty in class Snowflake
The snowflake value.
VoiceServerUpdateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event
VoiceStateUpdateClass in namespace CharlotteDunois\Yasmin\WebSocket\Events
WS Event

W

$Client#wsProperty in class Client
The WS manager.
Client::wsmanager() — Method in class Client
You don't need to know.
$APIEndpoints#webhookProperty in class APIEndpoints
The webhook endpoints.
WebhookClass in namespace CharlotteDunois\Yasmin\HTTP\Endpoints
Handles the API endpoints "Webhook".
WSCompressionInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Interface for WS compressions. This is used internally.
WSEncodingInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
Interface for WS encodings. This is used internally.
WSEventInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
WS Event interface.
WSHandlerInterfaceClass in namespace CharlotteDunois\Yasmin\Interfaces
WS Handler interface.
$AuditLog#webhooksProperty in class AuditLog
Holds the found webhooks in the audit log, mapped by their ID.
$ClientStatus#webProperty in class ClientStatus
The status of the user on the web client.
$Guild#widgetEnabledProperty in class Guild
Whether the guild widget is enabled or not.
$Guild#widgetChannelIDProperty in class Guild
The ID of the widget channel, or null.
$Guild#widgetChannelProperty in class Guild
The guild's widget channel, or null.
$Message#webhookIDProperty in class Message
ID of the webhook that sent the message, if applicable, or null.
$MessageAttachment#widthProperty in class MessageAttachment
The width (if image), or null.
$Shard#wsProperty in class Shard
The websocket connection of this shard.
$User#webhookProperty in class User
Determines wether the user is a webhook or not.
WebhookClass in namespace CharlotteDunois\Yasmin\Models
Represents a webhook.
EventHelpers::waitForEvent() — Method in class EventHelpers
Waits for a specific type of event to get emitted. Additional filter may be applied to look for a specific event (invoked as `$filter(.
$Snowflake#workerIDProperty in class Snowflake
The ID of the worker which generated this snowflake.
$Dispatch#wshandlerProperty in class Dispatch
$Heartbeat#wshandlerProperty in class Heartbeat
$HeartbeatAck#wshandlerProperty in class HeartbeatAck
$Hello#wshandlerProperty in class Hello
$InvalidSession#wshandlerProperty in class InvalidSession
$Reconnect#wshandlerProperty in class Reconnect
WSConnectionClass in namespace CharlotteDunois\Yasmin\WebSocket
Handles the WS connection.
$WSConnection#wsmanagerProperty in class WSConnection
$WSConnection#wsProperty in class WSConnection
$WSConnection#wsHeartbeatProperty in class WSConnection
The WS heartbeat.
$WSConnection#wsCloseCodesProperty in class WSConnection
WS close codes, sorted by resumable session and ends everything.
$WSConnection#wsSessionIDProperty in class WSConnection
The Discord Session ID.
WSHandlerClass in namespace CharlotteDunois\Yasmin\WebSocket
Handles WS messages.
$WSHandler#wsmanagerProperty in class WSHandler
WSManagerClass in namespace CharlotteDunois\Yasmin\WebSocket
Manages the WS connections.
$WSManager#wshandlerProperty in class WSManager
WebhookClientClass in namespace CharlotteDunois\Yasmin
The webhook client.

Z

ZlibStreamClass in namespace CharlotteDunois\Yasmin\WebSocket\Compression
Handles WS compression.

_

Client::__construct() — Method in class Client
What do you expect this to do? It makes a new Client instance. Available client options are as following (all are optional):
Client::__isset() — Method in class Client
Client::__get() — Method in class Client
APIEndpoints::__construct() — Method in class APIEndpoints
DO NOT initialize this class yourself.
APIManager::__construct() — Method in class APIManager
DO NOT initialize this class yourself.
APIManager::__destruct() — Method in class APIManager
Default destructor.
APIManager::__isset() — Method in class APIManager
APIManager::__get() — Method in class APIManager
APIRequest::__construct() — Method in class APIRequest
Creates a new API Request.
AthenaRatelimitBucket::__construct() — Method in class AthenaRatelimitBucket
DO NOT initialize this class yourself.
AthenaRatelimitBucket::__destruct() — Method in class AthenaRatelimitBucket
Destroys the bucket.
DiscordAPIException::__construct() — Method in class DiscordAPIException
Constructor.
Channel::__construct() — Method in class Channel
Constructor.
Emoji::__construct() — Method in class Emoji
Constructor.
Guild::__construct() — Method in class Guild
Constructor.
Invite::__construct() — Method in class Invite
Constructor.
User::__construct() — Method in class User
Constructor.
Voice::__construct() — Method in class Voice
Constructor.
Webhook::__construct() — Method in class Webhook
RatelimitBucket::__construct() — Method in class RatelimitBucket
DO NOT initialize this class yourself.
RatelimitBucket::__destruct() — Method in class RatelimitBucket
Destroys the bucket.
ChannelInterface::_patch() — Method in class ChannelInterface
Internally patches the instance.
RatelimitBucketInterface::__construct() — Method in class RatelimitBucketInterface
Initializes the bucket.
RatelimitBucketInterface::__destruct() — Method in class RatelimitBucketInterface
Destroys the bucket.
TextChannelInterface::_createMessage() — Method in class TextChannelInterface
TextChannelInterface::_updateTyping() — Method in class TextChannelInterface
WSEventInterface::__construct() — Method in class WSEventInterface
Constructor.
WSHandlerInterface::__construct() — Method in class WSHandlerInterface
Constructor.
Activity::__construct() — Method in class Activity
The manual creation of such a class is discouraged. There may be an easy and safe way to create such a class in the future.
Activity::__get() — Method in class Activity
AuditLog::__construct() — Method in class AuditLog
AuditLog::__get() — Method in class AuditLog
AuditLogEntry::__construct() — Method in class AuditLogEntry
AuditLogEntry::__get() — Method in class AuditLogEntry
Base::__construct() — Method in class Base
Default constructor.
Base::__destruct() — Method in class Base
Default destructor.
Base::__isset() — Method in class Base
Base::__get() — Method in class Base
Base::__call() — Method in class Base
Base::_patch() — Method in class Base
Base::_shouldUpdate() — Method in class Base
Base::_markForDelete() — Method in class Base
CategoryChannel::__construct() — Method in class CategoryChannel
CategoryChannel::__get() — Method in class CategoryChannel
CategoryChannel::_patch() — Method in class CategoryChannel
ClientBase::__construct() — Method in class ClientBase
ClientBase::__get() — Method in class ClientBase
ClientBase::__debugInfo() — Method in class ClientBase
ClientStatus::__construct() — Method in class ClientStatus
Constructs a new instance.
ClientStatus::__get() — Method in class ClientStatus
ClientUser::__construct() — Method in class ClientUser
ClientUser::__get() — Method in class ClientUser
ClientUser::__debugInfo() — Method in class ClientUser
DMChannel::__construct() — Method in class DMChannel
DMChannel::__get() — Method in class DMChannel
DMChannel::_patch() — Method in class DMChannel
Emoji::__construct() — Method in class Emoji
Emoji::__get() — Method in class Emoji
Emoji::__toString() — Method in class Emoji
Automatically converts to a mention.
Emoji::_patch() — Method in class Emoji
EmojiStorage::__construct() — Method in class EmojiStorage
GroupDMChannel::__construct() — Method in class GroupDMChannel
GroupDMChannel::__get() — Method in class GroupDMChannel
GroupDMChannel::_patch() — Method in class GroupDMChannel
Guild::__construct() — Method in class Guild
Guild::__get() — Method in class Guild
Guild::_addMember() — Method in class Guild
Guild::_removeMember() — Method in class Guild
Guild::_patch() — Method in class Guild
GuildBan::__construct() — Method in class GuildBan
GuildBan::__get() — Method in class GuildBan
GuildForumChannel::__construct() — Method in class GuildForumChannel
GuildForumChannel::__get() — Method in class GuildForumChannel
GuildForumChannel::__toString() — Method in class GuildForumChannel
Automatically converts to a mention.
GuildForumChannel::_patch() — Method in class GuildForumChannel
GuildMember::__construct() — Method in class GuildMember
GuildMember::__get() — Method in class GuildMember
GuildMember::__clone() — Method in class GuildMember
The internal hook for cloning.
GuildMember::__toString() — Method in class GuildMember
Automatically converts to a mention.
GuildMember::_setVoiceState() — Method in class GuildMember
GuildMember::_patch() — Method in class GuildMember
GuildMemberStorage::__construct() — Method in class GuildMemberStorage
GuildStoreChannel::__construct() — Method in class GuildStoreChannel
GuildStoreChannel::__get() — Method in class GuildStoreChannel
GuildStoreChannel::__toString() — Method in class GuildStoreChannel
Automatically converts to a mention.
GuildStoreChannel::_patch() — Method in class GuildStoreChannel
Invite::__construct() — Method in class Invite
Invite::__get() — Method in class Invite
Message::__construct() — Method in class Message
Message::__get() — Method in class Message
Message::__toString() — Method in class Message
Automatically converts to the message content.
Message::_addReaction() — Method in class Message
Message::_patch() — Method in class Message
MessageActivity::__construct() — Method in class MessageActivity
MessageActivity::__get() — Method in class MessageActivity
MessageApplication::__construct() — Method in class MessageApplication
MessageApplication::__get() — Method in class MessageApplication
MessageAttachment::__construct() — Method in class MessageAttachment
Constructs a new instance.
MessageAttachment::__get() — Method in class MessageAttachment
MessageAttachment::_getMessageFilesArray() — Method in class MessageAttachment
Returns a proper message files array.
MessageEmbed::__construct() — Method in class MessageEmbed
Constructs a new instance.
MessageEmbed::__get() — Method in class MessageEmbed
MessageMentions::__construct() — Method in class MessageMentions
MessageMentions::__get() — Method in class MessageMentions
MessageReaction::__construct() — Method in class MessageReaction
MessageReaction::__get() — Method in class MessageReaction
MessageReaction::_incrementCount() — Method in class MessageReaction
Increments the count.
MessageReaction::_decrementCount() — Method in class MessageReaction
Decrements the count.
MessageStorage::__construct() — Method in class MessageStorage
MessageStorage::__destruct() — Method in class MessageStorage
OAuthApplication::__construct() — Method in class OAuthApplication
OAuthApplication::__get() — Method in class OAuthApplication
OAuthApplication::__toString() — Method in class OAuthApplication
Automatically converts to the application name.
PartialChannel::__construct() — Method in class PartialChannel
PartialChannel::__get() — Method in class PartialChannel
PartialChannel::__toString() — Method in class PartialChannel
Automatically converts to the channel name.
PartialGuild::__construct() — Method in class PartialGuild
PartialGuild::__get() — Method in class PartialGuild
PartialGuild::__toString() — Method in class PartialGuild
Automatically converts to the guild name.
PermissionOverwrite::__construct() — Method in class PermissionOverwrite
PermissionOverwrite::__get() — Method in class PermissionOverwrite
Permissions::__construct() — Method in class Permissions
Constructs a new instance.
Permissions::__get() — Method in class Permissions
Presence::__construct() — Method in class Presence
The manual creation of such an instance is discouraged. There may be an easy and safe way to create such an instance in the future.
Presence::__get() — Method in class Presence
Presence::_patch() — Method in class Presence
PresenceStorage::__construct() — Method in class PresenceStorage
RichPresenceAssets::__construct() — Method in class RichPresenceAssets
The manual creation of such an instance is discouraged. There may be an easy and safe way to create such an instance in the future.
RichPresenceAssets::__get() — Method in class RichPresenceAssets
Role::__construct() — Method in class Role
Role::__get() — Method in class Role
Role::__toString() — Method in class Role
Automatically converts to a mention.
Role::_patch() — Method in class Role
RoleStorage::__construct() — Method in class RoleStorage
Shard::__construct() — Method in class Shard
Shard::__get() — Method in class Shard
Shard::__toString() — Method in class Shard
Storage::__construct() — Method in class Storage
Storage::__isset() — Method in class Storage
Storage::__get() — Method in class Storage
TextChannel::__construct() — Method in class TextChannel
TextChannel::__get() — Method in class TextChannel
TextChannel::__toString() — Method in class TextChannel
Automatically converts to a mention.
TextChannel::_patch() — Method in class TextChannel
User::__construct() — Method in class User
User::__get() — Method in class User
User::__debugInfo() — Method in class User
User::__toString() — Method in class User
Automatically converts the User instance to a mention.
User::_patch() — Method in class User
UserConnection::__construct() — Method in class UserConnection
UserStorage::__construct() — Method in class UserStorage
VoiceChannel::__construct() — Method in class VoiceChannel
VoiceChannel::__get() — Method in class VoiceChannel
VoiceChannel::__toString() — Method in class VoiceChannel
Automatically converts to the name.
VoiceChannel::_patch() — Method in class VoiceChannel
VoiceRegion::__construct() — Method in class VoiceRegion
VoiceRegion::__get() — Method in class VoiceRegion
Webhook::__construct() — Method in class Webhook
Webhook::__get() — Method in class Webhook
Webhook::_patch() — Method in class Webhook
TextChannelTrait::_createMessage() — Method in class TextChannelTrait
TextChannelTrait::_updateTyping() — Method in class TextChannelTrait
Collector::__construct() — Method in class Collector
The handler gets invoked as `$handler(.
Snowflake::__construct() — Method in class Snowflake
Constructor.
Snowflake::__get() — Method in class Snowflake
Etf::__construct() — Method in class Etf
Constructor.
ChannelCreate::__construct() — Method in class ChannelCreate
Constructor.
ChannelDelete::__construct() — Method in class ChannelDelete
Constructor.
ChannelPinsUpdate::__construct() — Method in class ChannelPinsUpdate
Constructor.
ChannelUpdate::__construct() — Method in class ChannelUpdate
Constructor.
GuildBanAdd::__construct() — Method in class GuildBanAdd
Constructor.
GuildBanRemove::__construct() — Method in class GuildBanRemove
Constructor.
GuildCreate::__construct() — Method in class GuildCreate
Constructor.
GuildDelete::__construct() — Method in class GuildDelete
Constructor.
GuildEmojisUpdate::__construct() — Method in class GuildEmojisUpdate
Constructor.
GuildIntegrationsUpdate::__construct() — Method in class GuildIntegrationsUpdate
Constructor.
GuildMemberAdd::__construct() — Method in class GuildMemberAdd
Constructor.
GuildMemberRemove::__construct() — Method in class GuildMemberRemove
Constructor.
GuildMemberUpdate::__construct() — Method in class GuildMemberUpdate
Constructor.
GuildMembersChunk::__construct() — Method in class GuildMembersChunk
Constructor.
GuildRoleCreate::__construct() — Method in class GuildRoleCreate
Constructor.
GuildRoleDelete::__construct() — Method in class GuildRoleDelete
Constructor.
GuildRoleUpdate::__construct() — Method in class GuildRoleUpdate
Constructor.
GuildUpdate::__construct() — Method in class GuildUpdate
Constructor.
InviteCreate::__construct() — Method in class InviteCreate
Constructor.
InviteDelete::__construct() — Method in class InviteDelete
Constructor.
MessageCreate::__construct() — Method in class MessageCreate
Constructor.
MessageDelete::__construct() — Method in class MessageDelete
Constructor.
MessageDeleteBulk::__construct() — Method in class MessageDeleteBulk
Constructor.
MessageReactionAdd::__construct() — Method in class MessageReactionAdd
Constructor.
MessageReactionRemove::__construct() — Method in class MessageReactionRemove
Constructor.
MessageReactionRemoveAll::__construct() — Method in class MessageReactionRemoveAll
Constructor.
MessageUpdate::__construct() — Method in class MessageUpdate
Constructor.
PresenceUpdate::__construct() — Method in class PresenceUpdate
Constructor.
Ready::__construct() — Method in class Ready
Constructor.
Resumed::__construct() — Method in class Resumed
Constructor.
TypingStart::__construct() — Method in class TypingStart
Constructor.
UserUpdate::__construct() — Method in class UserUpdate
Constructor.
VoiceServerUpdate::__construct() — Method in class VoiceServerUpdate
Constructor.
VoiceStateUpdate::__construct() — Method in class VoiceStateUpdate
Constructor.
Dispatch::__construct() — Method in class Dispatch
Constructor.
Heartbeat::__construct() — Method in class Heartbeat
Constructor.
HeartbeatAck::__construct() — Method in class HeartbeatAck
Constructor.
Hello::__construct() — Method in class Hello
Constructor.
InvalidSession::__construct() — Method in class InvalidSession
Constructor.
Reconnect::__construct() — Method in class Reconnect
Constructor.
WSConnection::__construct() — Method in class WSConnection
DO NOT initialize this class yourself.
WSConnection::__isset() — Method in class WSConnection
WSConnection::__get() — Method in class WSConnection
WSConnection::_pong() — Method in class WSConnection
Handles heartbeat ack.
WSConnection::_send() — Method in class WSConnection
Direct ws send method. DO NOT USE.
WSHandler::__construct() — Method in class WSHandler
DO NOT initialize this class yourself.
WSHandler::__get() — Method in class WSHandler
WSManager::__construct() — Method in class WSManager
DO NOT initialize this class yourself.
WSManager::__isset() — Method in class WSManager
WSManager::__get() — Method in class WSManager
WebhookClient::__construct() — Method in class WebhookClient
Constructor.