DiscordPHP Documentation

Repository

Table of Contents

Namespaces

Channel
Guild
Interaction
Monetization
Thread

Interfaces

AbstractRepositoryInterface
Contract for a DiscordPHP repository: a keyed, cached {@see CollectionInterface} of {@see Part}s for one Discord API resource, plus the async CRUD methods (`freshen()`, `fetch()`, `create()`, `save()`, `delete()`) that talk to the Discord REST API and keep the cache in sync. {@see AbstractRepository} is the concrete base every repository extends.

Classes

AbstractRepository
Repositories provide a way to store and update parts on the Discord server.
ActivityInstanceRepository
Contains activity instances of an application.
ApplicationIdentityRepository
The links between Discord users and their accounts in external systems, recorded for an application, and the game stats profiles published for them.
EmojiRepository
Contains emojis of an application.
GuildRepository
Contains guilds that the client is in.
LobbyRepository
Contains lobbies.
PrivateChannelRepository
Contains private channels and groups that the client has access to.
SessionLobbyRepository
The lobbies a player is in, and what the player does in them.
SoundRepository
Contains sounds of an application.
StickerPackRepository
Contains sticker packs of an application.
UserRepository
Contains users that the client shares guilds with.
VoiceStateRepository
Contains voice states of users in a guild.

Traits

AbstractRepositoryTrait
Provides common functionality for all repositories.
On this page

Search results