Skip to content

H0R4T1U/Sandu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sandu

Sandu is a discord music playing bot I've made because Groovy was ceased and desisted
It has commands like: play,play now,skip,remove,jump and queue.

How to run:

Discord Developer Portal:

  • Create an application on the discord developer portal
  • Create a bot and give him administrator privillages
  • Select Bot and applications.commands in the Oauth2 menu as the scopes
  • Invite the bot to your discord server

Gather the necesary tokens and ids

  • Get the bot's token from the Discord Developer Portal
  • Get the bot's client id by right clicking him and copying its id
  • Get the server's id by right clicking it and copying its id
  • Get an Youtube API token from their website

It's all comming together

  • Create a config.json file in the /src folder
  • Add the data you've gathered as follows:
"token": "bot_token"
"clientId": "Client ID"
"guildId": "Guild ID"
"YToken": "Youtube API token"
  • Type: node depploy-commands.js once
  • Type: node index.js

Docker

  • To run with docker instead of directly just build the image with docker build and run it with docker run