A chat bot for Discord, built on top of discord.js.
This bot runs on node.js. You will need at least node 12.xx
- Go to Discord Developer Portal and login with your Discord Account.
- Create a New Application.
- Click on Add Bot in the Bot section.
- You’ll get your Bot API token under the token title
- Copy it and save it in a file named as /.env/ in your project folder.
- Go to OAuth2 section in your application
- Select bot in the scopes menu and Administrator in bot permission menu.
- A Link will be generated in the scope menu, copy it and paste it in your browser URL tab.
- Select your test server in the drop down box...
- Export the Discord API Token by running export TOKEN_OSDC= in the OSDC-Bot directory using terminal.
- Run following commands from terminal
npm install
node bot.js