Skip to content
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

Custom Server #2

Open
cata-lystic opened this issue May 17, 2021 · 1 comment
Open

Custom Server #2

cata-lystic opened this issue May 17, 2021 · 1 comment

Comments

@cata-lystic
Copy link

cata-lystic commented May 17, 2021

This isn't exactly an issue, I'm just bad at Github and couldn't find a message author or suggestion box.

Basically I'm curious on if it would be possible (or if it already exists) to point this bot to my own CyTube server/instance. I'm self hosting the bot and have it connected to Discord and it shows me cytu.be info, but I can't see anywhere in the code where you actually pointed to the https://cytu.be domain. I thought just changing that line would make it fetch another instance.

I found where the file is you can change this. I wasn't looking at the npm compiled files when searching. It's located on line 12 in /node_modules/cytube-client/index.js under the CONFIG_URL constant. This is all I needed to change to get it to read from my home server. Is there a way this can become a feature or will node always compile the cytube-client module with the cytube domain?

This is an amazing bot, by the way. Thank you for your time!

@carriejv
Copy link
Owner

carriejv commented Jul 7, 2021

Hey @cata-lystic. It should be pretty easy for me to add in an option to point cyborg to a custom server. I'll see about doing that in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants