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 | WorkerClient The 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 packetGatewayVoiceStateUpdate The packet.
resolveUser()
override async resolveUser(user: PortableUser | string): Promise<User | PortableUser>Resolve a user.
Parameter Type Description userPortableUser| stringThe packet.