Renovate Bot
816e550c84
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [express](http://expressjs.com/) ([source](https://github.com/expressjs/express)) | dependencies | minor | [`4.19.2` -> `4.21.0`](https://renovatebot.com/diffs/npm/express/4.19.2/4.21.0) | --- ### Release Notes <details> <summary>expressjs/express (express)</summary> ### [`v4.21.0`](https://github.com/expressjs/express/releases/tag/4.21.0) [Compare Source](https://github.com/expressjs/express/compare/4.20.0...4.21.0) #### What's Changed - Deprecate `"back"` magic string in redirects by [@​blakeembrey](https://github.com/blakeembrey) in https://github.com/expressjs/express/pull/5935 - finalhandler@1.3.1 by [@​wesleytodd](https://github.com/wesleytodd) in https://github.com/expressjs/express/pull/5954 - fix(deps): serve-static@1.16.2 by [@​wesleytodd](https://github.com/wesleytodd) in https://github.com/expressjs/express/pull/5951 - Upgraded dependency qs to 6.13.0 to match qs in body-parser by [@​agadzinski93](https://github.com/agadzinski93) in https://github.com/expressjs/express/pull/5946 #### New Contributors - [@​agadzinski93](https://github.com/agadzinski93) made their first contribution in https://github.com/expressjs/express/pull/5946 **Full Changelog**: https://github.com/expressjs/express/compare/4.20.0...4.21.0 ### [`v4.20.0`](https://github.com/expressjs/express/blob/HEAD/History.md#4200--2024-09-10) [Compare Source](https://github.com/expressjs/express/compare/4.19.2...4.20.0) \========== - deps: serve-static@0.16.0 - Remove link renderization in html while redirecting - deps: send@0.19.0 - Remove link renderization in html while redirecting - deps: body-parser@0.6.0 - add `depth` option to customize the depth level in the parser - IMPORTANT: The default `depth` level for parsing URL-encoded data is now `32` (previously was `Infinity`) - Remove link renderization in html while using `res.redirect` - deps: path-to-regexp@0.1.10 - Adds support for named matching groups in the routes using a regex - Adds backtracking protection to parameters without regexes defined - deps: encodeurl@~2.0.0 - Removes encoding of `\`, `|`, and `^` to align better with URL spec - Deprecate passing `options.maxAge` and `options.expires` to `res.clearCookie` - Will be ignored in v5, clearCookie will set a cookie with an expires in the past to instruct clients to delete the cookie </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC44MC4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOlsidHlwZS9kZXBlbmRlbmNpZXMiXX0=--> Reviewed-on: #373 Reviewed-by: Vylpes <ethan@vylpes.com> Co-authored-by: Renovate Bot <renovate@vylpes.com> Co-committed-by: Renovate Bot <renovate@vylpes.com> |
||
---|---|---|
.forgejo/workflows | ||
.gitea | ||
database | ||
docs | ||
scripts | ||
src | ||
tests | ||
.drone.yml | ||
.env.example | ||
.eslintrc.json | ||
.gitignore | ||
.woodpecker.yml | ||
docker-compose.yml | ||
jest.config.json | ||
jest.setup.js | ||
package.json | ||
README.md | ||
renovate.json | ||
tsconfig.json | ||
yarn.lock |
Card Drop
Card Drop is a Discord Bot designed to allow users to "drop" random cards into a channel and have the ability to claim them for themselves or let others if they so choose.
The cards are randomly chosen based on weights of their card type (i.e. Bronze is more common than Gold). The user who ran the drop command has 5 minutes to choose if they want the card to themselves before its claimable by anyone, or until the drop command is ran again.
Installation
Downloads of the latest version can be found from the GitHub Releases or Forgejo Releases page.
Copy the config template file and fill in the strings.
Requirements
- NodeJS
- Yarn
- Docker
Usage
Install the dependencies and build the app:
yarn Install
yarn build
Setup the database (Recommended to use the docker-compose file
docker compose up -d
Copy and edit the settings file
cp .env.template .env
NOTE: Make sure you do not check in these files! These contain sensitive information and should be treated as private.
If you're not using DB_SYNC=true
in .env
, make sure to migrate the database
yarn db:up
Start the bot
yarn start