Ƭ statusType: "playing"
| "listening"
| "streaming"
| "competing"
▸ Const
next(req
, res
, prefix
, arr
, i?
, secondArr?
): () => void
The Client Class
description
The client class is the main starting point of your discord bot.
const fuwa = require('fuwa.js'); // Import Fuwa library
const client = new fuwa.Client('?'); // Create and initialize a Client
Name | Type | Default value |
---|---|---|
req |
Request |
undefined |
res |
Response |
undefined |
prefix |
string |
undefined |
arr |
{ cb : CommandCallback }[] |
undefined |
i |
number |
0 |
secondArr? |
{ cb : CommandCallback }[] |
undefined |
fn
▸ (): void
void