Skip to main content
Version: v2.9.1

Seyfert Wrapper

Table of Contents

Class Definition

export class SeyfertManager extends Manager {}

Constructor

new SeyfertManager(client: Client | WorkerClient, options?: ManagerOptions)
Parameter Type Description Optional
clientClient | WorkerClientThe Seyfert client.
optionsManagerOptionsThe manager options.
warning

⚠️ The Seyfert wrapper does not hook into the ready and raw event to automatically set the clientId-option in the ManagerOptions as well as it does not use the updateVoiceStatefunction to send packets to Discord.
Those need to be implemented by the user.

Methods

send()

override send(packet: GatewayVoiceStateUpdate)

Sends a packet to Discord.

Parameter Type Description
packetGatewayVoiceStateUpdateThe packet.

resolveUser()

override async resolveUser(user: PortableUser | string): Promise<User | PortableUser>

Resolve a user.

Parameter Type Description
userPortableUser | stringThe packet.