Merge pull request #127 from DjDeveloperr/refactor

fix(voicechannel): wrong return type of join method
This commit is contained in:
DjDeveloper 2021-04-15 11:42:49 +05:30 committed by GitHub
commit 34e261a9e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ export class VoiceChannel extends GuildChannel {
/** Join the Voice Channel */
async join(
options?: VoiceStateOptions & { onlyJoin?: boolean }
): Promise<VoiceServerUpdateData> {
): Promise<VoiceServerData> {
return await new Promise((resolve, reject) => {
let vcdata: VoiceServerData
let sessionID: string