Used discord.js module from Node.js to interact with Discord API Registed custom slash command
- Create a server on discord enable developer permission
- Navigate to discord developer portal and create app and provide admin permission.
- Navigate to OAuth -> URL Generator -> scope(bot) -> bot permission(admin)
- Copy URL and add it to created server
- Make sure you have Node.js and npm installed on your machine.
git clone https://github.com/snehalk19/discord-bot.git
cd discord-bot
npm install
npm start