Skip to content

meharryp/ClubBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

ClubBot

A bot for playing youtube, soundcloud and more on Discord voice chat channels.

Note

You will need a 64-bit OS for running this on, since node-opus does not support 32-bit operating systems.

Installing

  1. Install nodejs and npm.
  2. Run npm install in the directory the bot is in
  3. Open bot.js and fill in the username and password for the bot
  4. Run it!

Finding the channel ids

Finding the text channel ID is fairly easy, just use the last number in the URL. https://discordapp.com/channels/93925271886897152/93925271886897152 becomes 93925271886897152

To find the audio channel, right click the channel you want to add the bot to, and click inspect. see above

Then, from the highlighted section, copy the text after the $ and before the dot.

<span class="channel-name" data-reactid=".0.1.1.0.1.0.1.0.0.3.$127861585304616960.0.1">The Men's Room (AFK)</span>

becomes 127861585304616960.

Troubleshooting

If you get an error related to ffmpeg, make sure it is installed (https://www.ffmpeg.org/) and added to your PATH.

About

A bot that plays music on discord.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published