Preparing search index...
The search index is not available
RevKit Documentation
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Rev
Kit
Documentation
revkit
![RevKit logo](https://raw.githubusercontent.com/Revolt-Unofficial-Clients/revkit/master/revkit-header.png)
API
revkit/commandeer
![RevKit logo](https://raw.githubusercontent.com/Revolt-Unofficial-Clients/revkit/master/revkit-header.png)
revkit/voice
![RevKit logo](https://raw.githubusercontent.com/Revolt-Unofficial-Clients/revkit/master/revkit-header.png)
Client
Events
The various events a client can emit.
channel
Create
channel
Delete
channel
Start
Typing
channel
Stop
Typing
channel
Update
connected
connecting
destroyed
disconnected
emoji
Create
emoji
Delete
group
Exited
group
Member
Join
group
Member
Leave
message
message
Delete
message
Update
packet
ready
server
Create
server
Exited
server
Member
Join
server
Member
Leave
server
Member
Update
server
Role
Create
server
Role
Delete
server
Role
Update
server
Update
user
Relationship
Update
user
Update
RevKit Documentation
revkit
ClientEvents
Interface ClientEvents
The various events a client can emit.
Hierarchy
ClientEvents
Index
Properties
channel
Create
channel
Delete
channel
Start
Typing
channel
Stop
Typing
channel
Update
connected
connecting
destroyed
disconnected
emoji
Create
emoji
Delete
group
Exited
group
Member
Join
group
Member
Leave
message
message
Delete
message
Update
packet
ready
server
Create
server
Exited
server
Member
Join
server
Member
Leave
server
Member
Update
server
Role
Create
server
Role
Delete
server
Role
Update
server
Update
user
Relationship
Update
user
Update
Properties
channel
Create
channel
Create
:
(
(
channel
:
Channel
)
=>
any
)
Type declaration
(
channel
:
Channel
)
:
any
Parameters
channel:
Channel
Returns
any
channel
Delete
channel
Delete
:
(
(
id
:
string
, channel
?:
Channel
)
=>
any
)
Type declaration
(
id
:
string
, channel
?:
Channel
)
:
any
Parameters
id:
string
Optional
channel:
Channel
Returns
any
channel
Start
Typing
channel
Start
Typing
:
(
(
user
:
User
, channel
:
Channel
)
=>
any
)
Type declaration
(
user
:
User
, channel
:
Channel
)
:
any
Parameters
user:
User
channel:
Channel
Returns
any
channel
Stop
Typing
channel
Stop
Typing
:
(
(
user
:
User
, channel
:
Channel
)
=>
any
)
Type declaration
(
user
:
User
, channel
:
Channel
)
:
any
Parameters
user:
User
channel:
Channel
Returns
any
channel
Update
channel
Update
:
(
(
channel
:
Channel
)
=>
any
)
Type declaration
(
channel
:
Channel
)
:
any
Parameters
channel:
Channel
Returns
any
connected
connected
:
(
(
)
=>
any
)
Type declaration
(
)
:
any
Returns
any
connecting
connecting
:
(
(
)
=>
any
)
Type declaration
(
)
:
any
Returns
any
destroyed
destroyed
:
(
(
)
=>
any
)
Type declaration
(
)
:
any
Returns
any
disconnected
disconnected
:
(
(
)
=>
any
)
Type declaration
(
)
:
any
Returns
any
emoji
Create
emoji
Create
:
(
(
emoji
:
Emoji
)
=>
void
)
Type declaration
(
emoji
:
Emoji
)
:
void
Parameters
emoji:
Emoji
Returns
void
emoji
Delete
emoji
Delete
:
(
(
id
:
string
, emoji
?:
Emoji
)
=>
void
)
Type declaration
(
id
:
string
, emoji
?:
Emoji
)
:
void
Parameters
id:
string
Optional
emoji:
Emoji
Returns
void
group
Exited
group
Exited
:
(
(
group
:
GroupDMChannel
)
=>
any
)
Type declaration
(
group
:
GroupDMChannel
)
:
any
Parameters
group:
GroupDMChannel
Returns
any
group
Member
Join
group
Member
Join
:
(
(
group
:
GroupDMChannel
, user
:
User
)
=>
any
)
Type declaration
(
group
:
GroupDMChannel
, user
:
User
)
:
any
Parameters
group:
GroupDMChannel
user:
User
Returns
any
group
Member
Leave
group
Member
Leave
:
(
(
group
:
GroupDMChannel
, user
:
User
)
=>
any
)
Type declaration
(
group
:
GroupDMChannel
, user
:
User
)
:
any
Parameters
group:
GroupDMChannel
user:
User
Returns
any
message
message
:
(
(
message
:
BaseMessage
)
=>
any
)
Type declaration
(
message
:
BaseMessage
)
:
any
Parameters
message:
BaseMessage
Returns
any
message
Delete
message
Delete
:
(
(
id
:
string
, message
?:
BaseMessage
)
=>
any
)
Type declaration
(
id
:
string
, message
?:
BaseMessage
)
:
any
Parameters
id:
string
Optional
message:
BaseMessage
Returns
any
message
Update
message
Update
:
(
(
message
:
BaseMessage
)
=>
any
)
Type declaration
(
message
:
BaseMessage
)
:
any
Parameters
message:
BaseMessage
Returns
any
packet
packet
:
(
(
packet
:
ClientboundNotification
)
=>
any
)
Type declaration
(
packet
:
ClientboundNotification
)
:
any
Parameters
packet:
ClientboundNotification
Returns
any
ready
ready
:
(
(
)
=>
any
)
Type declaration
(
)
:
any
Returns
any
server
Create
server
Create
:
(
(
server
:
Server
)
=>
any
)
Type declaration
(
server
:
Server
)
:
any
Parameters
server:
Server
Returns
any
server
Exited
server
Exited
:
(
(
id
:
string
, server
?:
Server
)
=>
any
)
Type declaration
(
id
:
string
, server
?:
Server
)
:
any
Parameters
id:
string
Optional
server:
Server
Returns
any
server
Member
Join
server
Member
Join
:
(
(
member
:
Member
)
=>
any
)
Type declaration
(
member
:
Member
)
:
any
Parameters
member:
Member
Returns
any
server
Member
Leave
server
Member
Leave
:
(
(
server
:
Server
, user
:
User
)
=>
any
)
Type declaration
(
server
:
Server
, user
:
User
)
:
any
Parameters
server:
Server
user:
User
Returns
any
server
Member
Update
server
Member
Update
:
(
(
member
:
Member
)
=>
any
)
Type declaration
(
member
:
Member
)
:
any
Parameters
member:
Member
Returns
any
server
Role
Create
server
Role
Create
:
(
(
role
:
Role
)
=>
any
)
Type declaration
(
role
:
Role
)
:
any
Parameters
role:
Role
Returns
any
server
Role
Delete
server
Role
Delete
:
(
(
role
:
Role
)
=>
any
)
Type declaration
(
role
:
Role
)
:
any
Parameters
role:
Role
Returns
any
server
Role
Update
server
Role
Update
:
(
(
role
:
Role
)
=>
any
)
Type declaration
(
role
:
Role
)
:
any
Parameters
role:
Role
Returns
any
server
Update
server
Update
:
(
(
server
:
Server
)
=>
any
)
Type declaration
(
server
:
Server
)
:
any
Parameters
server:
Server
Returns
any
user
Relationship
Update
user
Relationship
Update
:
(
(
user
:
User
)
=>
any
)
Type declaration
(
user
:
User
)
:
any
Parameters
user:
User
Returns
any
user
Update
user
Update
:
(
(
user
:
User
)
=>
any
)
Type declaration
(
user
:
User
)
:
any
Parameters
user:
User
Returns
any
The various events a client can emit.