|
|
||
|---|---|---|
| .github | ||
| .vscode | ||
| src | ||
| .gitignore | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
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:
- node.js v21.6.1
- 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