Skip to content

Creating a simple Bot

Phoenix edited this page Sep 15, 2021 · 3 revisions

Setting up a bot

First, go to discord.com/developers/applications/ and click 'New Application'

Then, name your bot whatever you like:

Coding

First, create a project & install Fuwa.js with it

mkdir my-bot
cd my-bot
npm init -y
npm install fuwa.js

Now open the 'my-bot' directory in your editor of choice

Create a new file called 'index.js'. This will be the starting point of your bot.

const fuwa = require('fuwa.js')
Clone this wiki locally