Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 2. Creating The Project.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ Let's do that now! (You will need to know how to )
1. ``mkdir my-discord-bot && cd my-discord-bot/`` - This will create the folder for the project and enter in to it.
2. ``touch index.js && npm init --yes`` - This creates a file called ``index.js`` and initializes the project using NPM.
3. ``touch Dockerfile`` - This creates a file for Docker to read from. I will get into this in a later step.
4. ``npm install hydrabolt/discord.js --save`` - This installs the later master branch of discord.js which is recommended.
4. ``npm install discordjs/discord.js --save`` - This installs the later master branch of discord.js which is recommended.
5. ``touch settings.json`` - This creates a configuration file that stores our bot's token.

#### Windows
1. ``mkdir my-discord-bot && cd my-discord-bot/`` - This will create the folder for the project and enter in to it.
2. ``type nul > index.js && npm init --yes`` - This creates a file called ``index.js`` and initializes the project using NPM.
3. ``type nul > Dockerfile`` - This creates a file for Docker to read from. I will get into this in a later step.
4. ``npm install hydrabolt/discord.js --save`` - This installs the later master branch of discord.js which is recommended.
4. ``npm install discordjs/discord.js --save`` - This installs the later master branch of discord.js which is recommended.
5. ``type nul > settings.json`` - This creates a configuration file that stores our bot's token.

<hr />
Expand Down