Skip to content

Bluefox Example: Bot with argument parsing and multiple commands

License

Notifications You must be signed in to change notification settings

eslachance/bf-arguments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord.js Bot Example

Bluefox Example: Bot with argument parsing and multiple commands

Setup

Open the .env file and write your token in the appropriate location after the = Do the same for your User ID and the bot's desired prefix.

Note that env files are not json or js files, do not put quotes or space anywhere. The equal sign defines the variable's value, so PREFIX=+ , is like const PREFIX = "+";

It should look like:

DISCORD_TOKEN=MTg-this-IzNzU3OTA5NjA-is.not-DCeFB-a.real-r4DQlO-t0ken-qerT0
OWNER=139412744439988224
PREFIX=+

Save the file, and start your app, and it should login.

For more setup instructions and a guide to write your own bots, please visit An Idiot's Guide

About

Bluefox Example: Bot with argument parsing and multiple commands

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published