A simple bot which can assign roles to the user, creates a select menu.
Role Assigning and Role calling:
Select Menu:
Steps to host the bot using visual-studio:
Open visual studio,
-
Initialize node js using terminal
npm init -yThis will create a new project structure. -
import all the Js files from this repo.
-
Add your TOKENS, GUILD_ID( optional ), CLIENT_ID to the config file which is .env
-
Register slash commands using
node register.js -
install nodemon using terminal.
npm install nodemon -
Run the bot using
nodemonNote: Server.js is an optional file, which is used to keep the bot up and running 24/7 on external servers like https://replit.com/

