Skip to content

Getting started

Before you begin

To create a bot, it's essential to have a solid understanding of JavaScript and Node.js concepts. If you're new to JavaScript but eager to learn, the following links will provide a great starting point.

Javascript resources

Node.js Resources

Choose the resource that suits your learning style. Once you've gained confidence in the language, return here and embark on the journey to build an AWESOME BOT : )

Installation

Install the package and other required tooling using your preferred package manager.

3rd party tools

  • discord-verify - verification library for incoming requests
  • hono - web-server framework supporting any js runtime
sh
npm i disci discord-verify hono
sh
pnpm add disci discord-verify hono
sh
yarn add disci discord-verify hono

TIP

If you are hosting in a node.js based server and is using hono Please see the node.js hono guide

You can install the extra package as below,

sh
npm i @hono/node-server
sh
pnpm add @hono/node-server
sh
yarn add @hono/node-server

Choosing a platform

Here this guide will split into 2 groups for guiding you through the hosting process.

We've got you covered with two hosting guides for 2 services covering different environments.

  1. replit - nodejs server environment
  2. cloudflare workers - server-less environment

If you have already chosen a hosting type, go ahead and click on your preferred type, if not visit the Limitations guide to decide.