Abheek Dhawan
000e7e3ee7
|
4 years ago | |
---|---|---|
.github/workflows | 4 years ago | |
bot | 4 years ago | |
images | 4 years ago | |
.gitignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago |
README.md
AwesomeSciBo
A simple Discord bot that automatically generates Science Bowl rounds using the ScibowlDB API!
Deployment
Deploying this bot to your Discord server is relatively simple: you can add it to your own server by using this link.
Contributing
If you want to make a contribution to this bot, please make a Pull Request with as much detail as you can. I'll take a look in my free time and see if it's worth adding. If not, I'll let you know what to do to make it worth adding!
Installation
There are two ways to install this on your own server: using npm and cloning this repository.
Note: make sure you have
node
installed on your system. This varies from computer to computer, but make sure you have the right version installed. Generally, versions older than 12.X don't work properly.
RECOMMENDED
Option 1: NPM
Steps
- Install the package with npm
sudo npm i -g awscibo
- Run the command (learn how to get your token here
awscibo [your token here]
Option 2: Clone repository
Steps
- Clone repo:
git clone https://github.com/ADawesomeguy/AwesomeSciBo.git
- Enter repo and install dependencies
cd AwesomeSciBo/bot && npm i
- Run your bot:
node roundbot.mjs
Usage
To get started, run the command do be helping
to get a list of commands. The more helpful commands will be the ones that generate packets, which are do be roundgen pdf/html
and do be roundgen pdf/html dm
.
Note: if you plan to use PDF files, you must have
gotenberg
installed and running atlocalhost:3136
(or change theawesomescibo.mjs
script to point to a different location). You can find more info about that here.
Notes
Creating a Discord Application/Bot
To create your own application and bot using the Discord Developer Portal, go to the previous link and sign in. Then create a new application, and click bots on the left. Configure it to your liking, and then copy the token.
That's the most important part of your bot and don't share it with anyone.
Credit
The bot was made by @ADawesomeguy. However, the API was made by @CQCumbers. Go give his API a star, he totally deserves it!