Find a file
RenovateBot 768f64b5ee
All checks were successful
Deploy To Stage / build (push) Successful in 9s
Deploy To Stage / deploy (push) Successful in 16s
Update dependency eslint to v8.57.1 (#366)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | devDependencies | patch | [`8.57.0` -> `8.57.1`](https://renovatebot.com/diffs/npm/eslint/8.57.0/8.57.1) |

---

### Release Notes

<details>
<summary>eslint/eslint (eslint)</summary>

### [`v8.57.1`](https://github.com/eslint/eslint/releases/tag/v8.57.1)

[Compare Source](https://github.com/eslint/eslint/compare/v8.57.0...v8.57.1)

#### Bug Fixes

-   [`a19072f`](a19072f9f1) fix: add logic to handle fixTypes in the lintText() method ([#&#8203;18900](https://github.com/eslint/eslint/issues/18900)) (Francesco Trotta)
-   [`04c7188`](04c718865b) fix: Don't lint same file multiple times ([#&#8203;18899](https://github.com/eslint/eslint/issues/18899)) (Francesco Trotta)
-   [`87ec3c4`](87ec3c49dd) fix: do not throw when defining a global named `__defineSetter__` ([#&#8203;18898](https://github.com/eslint/eslint/issues/18898)) (Francesco Trotta)
-   [`60a1267`](60a1267687) fix: Provide helpful error message for nullish configs ([#&#8203;18889](https://github.com/eslint/eslint/issues/18889)) (Milos Djermanovic)
-   [`a0dea8e`](a0dea8ee01) fix: allow `name` in global ignores, fix `--no-ignore` for non-global ([#&#8203;18875](https://github.com/eslint/eslint/issues/18875)) (Milos Djermanovic)
-   [`3836bb4`](3836bb48d3) fix: do not crash on error in `fs.walk` filter ([#&#8203;18886](https://github.com/eslint/eslint/issues/18886)) (Milos Djermanovic)
-   [`2dec349`](2dec349199) fix: skip processor code blocks that match only universal patterns ([#&#8203;18880](https://github.com/eslint/eslint/issues/18880)) (Milos Djermanovic)

#### Documentation

-   [`6a5add4`](6a5add41e8) docs: v8.x Add EOL banner ([#&#8203;18744](https://github.com/eslint/eslint/issues/18744)) (Amaresh  S M)
-   [`b034575`](b034575978) docs: v8.x add version support page to the dropdown ([#&#8203;18731](https://github.com/eslint/eslint/issues/18731)) (Amaresh  S M)
-   [`760ef7d`](760ef7d9db) docs: v8.x add version support page in the side navbar ([#&#8203;18740](https://github.com/eslint/eslint/issues/18740)) (Amaresh  S M)
-   [`428b7ea`](428b7ea0a9) docs: Add Powered by Algolia label to the search ([#&#8203;18658](https://github.com/eslint/eslint/issues/18658)) (Amaresh  S M)
-   [`c68c07f`](c68c07ff44) docs: version selectors synchronization ([#&#8203;18265](https://github.com/eslint/eslint/issues/18265)) (Milos Djermanovic)

#### Build Related

-   [`35d366a`](35d366aed6) build: Support updates to previous major versions ([#&#8203;18870](https://github.com/eslint/eslint/issues/18870)) (Milos Djermanovic)

#### Chores

-   [`140ec45`](140ec4569f) chore: upgrade [@&#8203;eslint/js](https://github.com/eslint/js)[@&#8203;8](https://github.com/8).57.1 ([#&#8203;18913](https://github.com/eslint/eslint/issues/18913)) (Milos Djermanovic)
-   [`bcdfc04`](bcdfc04a69) chore: package.json update for [@&#8203;eslint/js](https://github.com/eslint/js) release (Jenkins)
-   [`3f6ce8d`](3f6ce8d6b7) chore: pin vite-plugin-commonjs@0.10.1 ([#&#8203;18910](https://github.com/eslint/eslint/issues/18910)) (Milos Djermanovic)
-   [`9f07549`](9f07549795) chore: ignore `/docs/v8.x` in link checker ([#&#8203;18660](https://github.com/eslint/eslint/issues/18660)) (Milos Djermanovic)

</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: #366
Reviewed-by: Vylpes <ethan@vylpes.com>
Co-authored-by: Renovate Bot <renovate@vylpes.com>
Co-committed-by: Renovate Bot <renovate@vylpes.com>
2024-09-23 18:33:07 +01:00
.forgejo/workflows Upgrade node in workflow to use v20 (#341) 2024-08-17 17:29:17 +01:00
.gitea Create initial bot framework (#7) 2023-08-19 16:56:22 +01:00
database Create daily command (#224) 2024-05-24 17:40:45 +01:00
docs Document the google drive sync process (#328) 2024-08-02 18:20:23 +01:00
scripts Migrate to woodpecker (#150) 2024-01-26 21:02:17 +00:00
src Add dropdown to /inventory command for quick navigation (#365) 2024-09-21 18:09:24 +01:00
tests Add some unit tests (#321) 2024-07-26 18:31:06 +01:00
.drone.yml Add ESLint and fix issues (#133) 2024-01-05 19:26:44 +00:00
.env.example Merge branch 'main' into develop 2024-08-31 13:37:28 +01:00
.eslintrc.json Add ESLint and fix issues (#133) 2024-01-05 19:26:44 +00:00
.gitignore Merge branch 'hotfix/0.5.2' into develop 2024-05-29 17:40:36 +01:00
.woodpecker.yml Update woodpecker config to use new ip 2024-04-23 19:42:33 +01:00
docker-compose.yml Migrate to forgejo runner 2024-04-28 17:34:42 +01:00
jest.config.json Create initial bot framework (#7) 2023-08-19 16:56:22 +01:00
jest.setup.js Create initial bot framework (#7) 2023-08-19 16:56:22 +01:00
package.json Upgrade package glob to v11 (#331) 2024-08-31 17:59:56 +01:00
README.md Document how to start the bot (#322) 2024-07-26 18:32:12 +01:00
renovate.json Add to renovate config to add label on PRs (#128) 2023-12-29 21:03:15 +00:00
tsconfig.json Create initial bot framework (#7) 2023-08-19 16:56:22 +01:00
yarn.lock Update dependency eslint to v8.57.1 (#366) 2024-09-23 18:33:07 +01:00

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