-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with voice connections #1595
Comments
Joinable is a property, not a function. |
@aemino oops sorry typo in my sample code. But in my actual code, i didn't put brackets. |
There are two issues that occurred here:
Status 1 Permissions VoiceChannel's Joinable this.permissionsFor(this.client.user).has('CONNECT') |
I've noticed this as well, as well on permissionsFor. I always check if my bot has permission to send messages in the channel and I've gotten multiple errors from that line (in exclusive testing) of bot having permission to send messages. |
Found the issue. Gonna be fixed in the next few commits. I'll leave a message and close the issue when its done. |
I experience this issue as well:
|
Can you see if the above PR (#1601) fixed your issue? Thanks. |
@hydrabolt I think the issue is fixed since I don't see any of those errors anymore. Thanks a lot! |
Please describe the problem you are having in as much detail as possible:
In the server setting, my bot has permission to
connect
. However, I set up a specific voice channel which disabled everyone's permission toconnect
(which should overwrite the server permission). But when I logvoiceChannel.joinable
, it is returningtrue
, so my bot still tries to join, and it stuck at VoiceStatus 2(AUTHENTICATING). After about 15 seconds, I get the following unhandled error and the program crashed:Include a reproducible code sample here, if possible:
Further details:
The text was updated successfully, but these errors were encountered: