Build A Bot (DiscordJS) — A scalable setup with command modules

  • imports
  • setup
  • functions
  • event handlers
  • the call to the load function

Importing to export

What was the caveat?

  • !dice
  • !dice [1–10]
  • !dice [1–10]d[2, 3, 4, 6, 8, 10, 12, 20, 100]
  • !dice [1–10]d[2, 3, 4, 6, 8, 10, 12, 20, 100] “optional message”

Tracing back our steps

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

Javascript map vs forEach vs filter vs find

Currying in JavaScript

8 Top VueJS Best Practices

espeak-ng Command in RHEL

Static vs Dynamic Website

How to Configure WSO2 API Manager to Push Server Logs to Syslog-ng

React with fire base push notification

HTML5 Canvas Elements

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

Kickstart Your Embedded Projects With ESP32 and PlatformIO

Sonoff IoT API’s

Roadmap to build first Web Application

How to run Oracle SQL Developer on M1