J.A.R.V.I.S rewrite in discord.js
- clone the repo using the command
git clone https://github.com/ArvindAROO/JARVIS.js
- Install the dependencies using
npm install
- Set up the
.env
file in the format
TOKEN = "Your Bot Token"
API_KEY = "your API key"
TOKEN is your discord bot's token
API_KEY is the key for your auth in rapidapi.com for `+joke` command
Further info of the API and docs - https://rapidapi.com/KegenGuyll/api/dad-jokes
-
Set up the
config.json
file with the following details likeprefix
and allowed commandsbotManagers
is the array of role IDs who will have full access to all moderation commandsbotLogs
is the channel ID of the logs channelSample:
-
Run the bot using
node index.js
Warning: Discord.js v13 requires Node 16.6 or higher