-
Notifications
You must be signed in to change notification settings - Fork 14
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
Make bot switch channel? #54
Comments
To anyone reading this, this is how I fixed things on my end: function switchChannel(id){
// switch channel
// i couldnt figure out how to use native switchChannel lol
client.connection.writeProto(
"UserState",
{
session: client.user.session,
actor: client.user.session,
channelId: id
}
);
} |
Hmm, there is a |
im getting "client.switchChannel is not a function." writeProto works on the exact same object! as arguments, im simply giving it an ID to switch to! |
What version did you install? switchChannel has been implemented since 1.4.0 |
woops, i see that I'm using [email protected]! I see what's happening here. Since your package has a vulnerability, I went ahead and did Many thanks for your time, I will see if I can contribute later. |
Hello!
Is there a way currently to switch to another channel?
Thank you!
The text was updated successfully, but these errors were encountered: