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
- MDN's JavaScript documentation
- JavaScript.info, Modern Javascript tutorial
- Codecademy's Javascript course
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
npm i disci discord-verify hono
pnpm add disci discord-verify hono
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,
npm i @hono/node-server
pnpm add @hono/node-server
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.
- replit - nodejs server environment
- 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.