How to create your first DISCORD BOT

  1. Writing a discord bot
  2. Running a discord bot

Step 1 — Setting up your system

Setting up Nodejs
First of all you need to install NodeJS on your system. To install NodeJs go to https://nodejs.org/en/download/.
Click the Windows Installer button to download the latest default version. At the time this article was written, version 10.16.0-x64 was the latest version. The Node.js installer includes the NPM package manager which we sill use to install “discord.js”.

Step 2 — Writing a discord bot

Now that our bot is ready, we can start coding to make our bot do something.

Step 3 — Running a discord bot

Creating a repository on GitHub

  1. Writing a discord bot
  2. Running a discord bot

Step 1 — Setting up your system

Setting up Nodejs
First of all you need to install NodeJS on your system. To install NodeJs go to https://nodejs.org/en/download/.
Click the Windows Installer button to download the latest default version. At the time this article was written, version 10.16.0-x64 was the latest version. The Node.js installer includes the NPM package manager which we sill use to install “discord.js”.

Step 2 — Writing a discord bot

Now that our bot is ready, we can start coding to make our bot do something.

Step 3 — Running a discord bot

Creating a repository on GitHub

Shopify | PHP | Javascript | and many more https://mangitmaharjan.com.np/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Outside main thread, heavy task calculations in Vue.

Image presenting repository on github.com

Frontend Weekly Digest #237 (22–28 November 2021)

Things which every developer should know when starting with modern front-end development

Check if IP address is a Known Threat in Node.js

How to create a Web-Based Document Viewer in C# .NET Framework

Differences in Javascript .Slice() & .Splice() methods

Creating a Note-taking Vue Component Using TDD with Unite.js — Part 3: Refactoring our Component

Simplifying Middleware in Express for Newbies and Pros Alike

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mangit Maharjan

Mangit Maharjan

Shopify | PHP | Javascript | and many more https://mangitmaharjan.com.np/

More from Medium

Google Playstore Web app

Video call app free using webrtc

Website Clone, Using React.

Creating Responsive Web App with React + Tailwind + SASS