Skip to content

Creating a simple Bot

Phoenix edited this page Jan 13, 2021 · 3 revisions

Setting up a bot

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

Then, name your bot.

Coding

1st Create a project & install FuwaJS with it

mkdir my-bot
cd my-bot
npm init -y
npm install FuwaJS/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')
Clone this wiki locally