# @aquarius-bot/discordjs-fixes

> Apply discord.js library fixes

Latest version **0.0.1** (published 2020-04-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @aquarius-bot/discordjs-fixes
pnpm add @aquarius-bot/discordjs-fixes
yarn add @aquarius-bot/discordjs-fixes
bun add @aquarius-bot/discordjs-fixes
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2020-04-20 |
| First published | 2020-04-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ian Mitchell |
| Maintainers | ianmitchell |
| Keywords | discord, discord.js, bot, node, aquarius |

## Links

- npm: https://www.npmjs.com/package/@aquarius-bot/discordjs-fixes
- Repository: https://github.com/ianmitchell/aquarius
- Issues: https://github.com/ianmitchell/aquarius/issues
- npm.io page: https://npm.io/package/@aquarius-bot/discordjs-fixes

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2020-04-20

## README

# @aquarius-bot/discordjs-fixes

A library of fixes for the discord.js library. I did not write these; the authors are given credit in the source code and below.

## Fixing Reactions

_Credit: [Danktuary](https://gist.github.com/Danktuary/27b3cef7ef6c42e2d3f5aff4779db8ba)_

When a discord.js client starts up it only subscribes to Reactions on messages sent while it has been online. Messages sent from before that timestamp don't trigger a reaction add/remove event. This method patches that functionality in, so that every reaction event triggers the event.

**Usage**

```javascript
import { fixPartialReactionEvents } from '@aquarius-bot/discordjs-fixes';

const client = new Discord.Client();
fixPartialReactionEvents(client);
```

---
_Source: https://npm.io/package/@aquarius-bot/discordjs-fixes · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
