Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 750 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 750 Bytes

frieza-bot

Basic DiscordJS bot. The almighty and powerful, Lord Frieza. I'll be documenting my basic setup with him. The instructions are far inferior to the guide

  1. Create a new folder, and inside of it...

    • npm init -y - Initialize a new NPM packge
    • npm i discord.js chalk - Install discord.js and chalk(colors)
    • npm i -D nodemon eslint - Install development dependencies
    • Create a .eslintrc.json file for linting
  2. Create an index.js in your project's root folder

    const Discord = require('discord.js');
    const client = new Discord.Client();
    
    client.once('ready', () => {
    console.log('Ready!');
    });
    client.login('your-token-goes-here');