UNPKG

detritus-client

Version:

A Typescript NodeJS library to interact with Discord's API, both Rest and Gateway.

24 lines (23 loc) 574 B
import { User, VoiceState } from '../structures'; export declare namespace MediaEvents { interface ClientConnect { audioSSRC: number; user: null | User; userId: string; videoSSRC: number; } interface ClientDisconnect { user: null | User; userId: string; } interface Speaking { isSpeaking: boolean; priority: boolean; soundshare: boolean; ssrc: number; user: null | User; userId: string; voice: boolean; voiceState: null | VoiceState; } }