Playing around with a Discord bot
https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token
Note: you could also create .env.local
instead (as a local envs override)
TOKEN=place_actual_token_here
To use some commands you'll need key from xivapi.com
XIVAPI_KEY=place_actual_token_here
npm i
npm run start
npm i
npm run build
npm run serve
By default the application runs a single shard in production, for more shards edit .env
.
SHARD_COUNT=1
Note: value must be an integer or auto
. For more information on sharding read the Discord.js guide.
Command | Aliases | Description | Accepted Formats |
---|---|---|---|
/beep | Mayhap you will stumble upon a boop | ||
/boop | Prithee, may-another-hap it will beep | ||
/sing | Imma sing a little song for you! | ||
/facetarget | /ft | Get character information for FFXIV character | /ft [firstname] /ft [firstname] of [server] /ft [firstname] [lastname] /ft [firstname] [lastname] [server] /ft [firstname] [lastname] of [server] |
Commandes | Alias | Description | Formats Acceptés |
---|---|---|---|
/beep | Par hasard, tu aurais pu trouver un boop | ||
/boop | Mais non, y a-t-il un beep ?! | ||
/chante | Si tu as besoin d'une chanson ! | ||
/faireface | /ft /facetarget |
Ton personnage se tourne vers la cible ton bae | /ft [prenom] /ft [prenom] de [server] /ft [prenom] [nom] /ft [prenom] [nom] [server] /ft [prenom] [nom] de [server] |