1//Here is how to get your bot up and running!
2//1: Go to https://nodejs.org/ and download node.js.
3//2: Open your code editor
4//3: Make a new folder.
5//4: Name it DiscordBot - This can be whatever you want.
6//5: Make a text document and name it main.js
7//6: Put the text document in your folder.
8//7: Open your folder in your text editor.
9//8: Go to main.js
10//9: Press [Windows] + [R].
11//10: Type: "cmd" in the text box.
12//11: In the command prompt, type: "npm install discord.js"
13//12: Inside main.js, insert this script:
14
15const Discord = require('discord.js')
16const client = new Discord.Client()
17
18client.on('ready', () =>{
19 client.user.setStatus('Listening for: !help')
20 console.log('Bot is ready to be used!')
21}
22
1/* Okay So
21. You need to know the basics of Discord.js (learn on yt)
32. Go to dev portal (https://discord.com/developers/applications) Make a bot
4 Invite to your server
53. Start coding the bot in Discord.js
64. Host the bot somewhere like repl.it
75. You're done / Implement the bot
8*/