Merge pull request #127 from DjDeveloperr/refactor
fix(voicechannel): wrong return type of join method
This commit is contained in:
commit
34e261a9e1
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ export class VoiceChannel extends GuildChannel {
|
||||||
/** Join the Voice Channel */
|
/** Join the Voice Channel */
|
||||||
async join(
|
async join(
|
||||||
options?: VoiceStateOptions & { onlyJoin?: boolean }
|
options?: VoiceStateOptions & { onlyJoin?: boolean }
|
||||||
): Promise<VoiceServerUpdateData> {
|
): Promise<VoiceServerData> {
|
||||||
return await new Promise((resolve, reject) => {
|
return await new Promise((resolve, reject) => {
|
||||||
let vcdata: VoiceServerData
|
let vcdata: VoiceServerData
|
||||||
let sessionID: string
|
let sessionID: string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue