Find a file
James Miller d97bad1af9 Fixed Bug with Disabled Archive Category Config
Would show the bot isn't set up when the archive category is set to disabled
2024-03-13 22:11:50 -05:00
.github Create FUNDING.yml 2024-02-22 21:38:58 -06:00
.vscode Added Base Bot Code 2024-02-08 01:28:14 -06:00
src Fixed Bug with Disabled Archive Category Config 2024-03-13 22:11:50 -05:00
.gitignore Removed active-games.json 2024-02-16 01:36:00 -06:00
LICENSE Initial commit 2024-02-08 01:06:51 -06:00
package-lock.json Added Forgotten Dependencies 2024-02-22 21:43:49 -06:00
package.json Added Forgotten Dependencies 2024-02-22 21:43:49 -06:00
README.md Update README.md 2024-02-29 20:19:06 -06:00

The Card Game Bot

Setup

You can add the Discord bot to any server you own, just follow this link

You will need to setup the bot upon adding it, just run the following configuration commands to get set up:

  • /config uno_category
  • /config uno_archive_category

For more information on what each command does, you can check here

Optional Config Commands are as follows:

  • /config game_end_delay (Default 5 Minutes)

After that the bot will be ready to go!

Development

Requirements

Will will need the following software installed:

  1. node.js v21.6.1
  2. A JS IDE of your choice (VS Code is suggested)

Configuration

You will first need to create a Discord Bot in the Discord Developer Portal

Next You Will need to copy the config template at ./src/templates/config-template.json and paste it as ./src/config.json

Then Take The Discord Bot Token and paste it into the "token" value, same with the Application ID and "clientId" (Put null in the Patreon value if you have none)

Lastly you will need to run npm i to install all the Required Dependencies

It is also Highly Suggested to comment out lines 244-246 in ./node_modules/jsonapi-datastore/dist/node-jsonapi-datastore.js as this block of code sends Warning: Links not implemented yet. to the console every few seconds

The Bot Should be ready for development now! VS Code configurations are built in the repository, but if you do not have VS Code, you can use the following NPM scripts:

  • npm run deploy (Runs the bot)
  • npm run reload-commands (Refreshes the / commands)

Support

If you need any help at all, feel free to join the Offical Server