Yeah i put random stuff i made on here
A Bot that responds to every message in a channnel and deletes it after 60 seconds if it doesn't contain #uselessstory.
- Create a folder and navigate to it using the Windows Terminal.
- run
npm init -yto setup basic structure - run
npm install dotenvto install dotenv, a library to keep the token safe - run
npm install discord.jsto install Discord.js, the library to create the bot itself - create a .js file (i recommend
index.js) and put the code in it - run
node <filename>.jsto start the bot and wait until you get a message likeLogged in as Uselessstory-Bot#1049