Build A Bot (DiscordJS) — Javascript Chatbots made easy

Prerequisites

  • A Discord Account & (desktop or web) Client
  • A Discord Server with “manage server” permission
  • Basic Terminal KnowHow
  • NodeJS version 10 or higher

First Steps — Discord Developer Portal

Project Setup

TOKEN=7074lly-n07-my-70k3n

The initial code, diving into DiscordJS

1) ping

2) check the prefix

3) !who am I

4) !whois asking?

Wrapping up

Some words about me:

--

--

--

I’m a Web / App Developer & father 👨‍👩‍👧 doing freelance and part-time agency work since 2003, 💻 building stuff on the side 🕹 and attending conferences 🎟

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

Recommended from Medium

What is Important for a Young Scrum Product Owner?

Build a MapReduce flow in Elixir

Bedrock Mineral Block Trees

Cloud and DevOps. Better together.

Create GitHub Labels from Terminal

Spectrum Internal Server Error

Spectrum Internal Server Error

NFT Listing is starting from Klaymint!

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
Konrad Abe

Konrad Abe

I’m a Web / App Developer & father 👨‍👩‍👧 doing freelance and part-time agency work since 2003, 💻 building stuff on the side 🕹 and attending conferences 🎟

More from Medium

Grow your server by building these 5 Discord bots

What is IndexNow?

A whiteboard with the word “Audience” and three arrows

I Built an App for the Overwatch League Community

How To Build A Video Recording App