Skip to main content

Module client

Module client 

Source
Expand description

Read-only access to the client state PhoenixCord tracks.

Functions§

current_user
get_channel
get_guild
get_member
get_message
get_permissions
The current user’s permission bitfield in a channel, after roles, overwrites and timeouts. All bits are set in DMs.
get_presence
get_selection
get_user
list_guild_channels
Channels and threads of a guild, ordered by position.
list_guilds
list_messages
Cached messages of a channel, oldest first. Only recent messages are cached.
list_private_channels
DMs and group DMs, most recently active first.
list_relationships
list_roles
Roles of a guild, lowest position first.
list_voice_states
Users connected to a voice channel.

Type Aliases§

Channel
ChannelSelection
Guild
Member
Message
Presence
Relationship
Role
Snowflake
User
VoiceState