Tony Punnacherry

@tpunn19 (7)
hi guys
OPUS SUPPORT FOR DISCORD MUSIC BOTS!
posted to Tutorials by Scoder12

@amasad, This only works on Python. Most people who make Discord bots won't be able to use this feature.

OPUS SUPPORT FOR DISCORD MUSIC BOTS!
posted to Tutorials by Scoder12

@amasad I only have this so far: https://repl.it/@tpunn19/Discordjs-Music-Bot. It only connects to a voice channel and plays some music, nothing special. I added the same markdown you did for Python except with the JS instructions.

OPUS SUPPORT FOR DISCORD MUSIC BOTS!
posted to Tutorials by Scoder12

@amasad Thank you! It works now without Scoder12's solution. I can just install the requirements from NPM and it works.

OPUS SUPPORT FOR DISCORD MUSIC BOTS!
posted to Tutorials by Scoder12

@Scoder12 Did you get anything yet? Just checking.

OPUS SUPPORT FOR DISCORD MUSIC BOTS!
posted to Tutorials by Scoder12

@Scoder12, Thank you so much!

OPUS SUPPORT FOR DISCORD MUSIC BOTS!
posted to Tutorials by Scoder12

I tried doing it, and it says: [VOICE_CONNECTION_TIMEOUT]: Connection not established within 15 seconds.

OPUS SUPPORT FOR DISCORD MUSIC BOTS!
posted to Tutorials by Scoder12

Hi, my entire bot is written in JavaScript, so I would like to continue using Discord.js instead of Discord.py. I don't seem to understand based on your article on how to add OPUS. If there is no way, then I will write my next bot in Python (though I prefer JavaScript).

Fontconfig error: Cannot load default config file Node.js Canvas
posted to Ask by CrisKop

@Coder100, Thanks for this! I've been using this for a bit now, but it seems like foreign characters/symbols from usernames aren't exactly working with the Roboto font. Any suggestions on that?

Hosting discord.js bots on repl.it!! [ Works for both discord.js and Eris ]
posted to Tutorials by TheDrone7

@TheDrone7 Oh ok. Thanks. Will this prevent the bots from staying down?

Hosting discord.js bots on repl.it!! [ Works for both discord.js and Eris ]
posted to Tutorials by TheDrone7

@TheDrone7 I don't want people injecting scripts into my bots... and Repl.it allows it to be public (since I'm not in paid version)

Hosting discord.js bots on repl.it!! [ Works for both discord.js and Eris ]
posted to Tutorials by TheDrone7

@TheDrone7 The issue happened again, but I think I know what is wrong. Whenever the server is refreshed, it asks for the token in the console (for security purposes). Is this why?

I think for JS I can fix this by enmapping the token, but not sure how to do this for Python.

Hosting discord.js bots on repl.it!! [ Works for both discord.js and Eris ]
posted to Tutorials by TheDrone7

@TheDrone7 It seems to be staying online now. thanks.

Hosting discord.js bots on repl.it!! [ Works for both discord.js and Eris ]
posted to Tutorials by TheDrone7

@TheDrone7 I've gotten it to work for both the Flask and Express servers. But the Python one seems to stay online longer than the Node one. Python - 24 hours, and Node - 7 hours. Do I have to restart the repl manually, or will it come back online itself? Because it doesn't seem to do it itself.

Hosting discord.js bots on repl.it!! [ Works for both discord.js and Eris ]
posted to Tutorials by TheDrone7

Do you have a code example like your python one?