A DiscordBot made with Discord.js in NodeJS.
- All requiresments:
npm install discord.js fs --save
- Discord.js (Node.js 6.0.0 or newer is required): (node-opus)
npm install discord.js node-opus --save
- fs:
npm install fs
- Creating a bot: Go to https://discordapp.com/developers/applications/me and create a new application.
- Sending the bot to a channel: Place your client id from your bot's application (make sure you click create bot user) in this link -- https://discordapp.com/oauth2/authorize?client_id=PUT_CLIENT_ID_HERE&scope=bot
- Running the bot:
node main.js
or just click the DiscordBot.bat file on Windows.