Skip to content

Commit

Permalink
release: Revchiver v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexogamer committed Jan 11, 2025
1 parent da7e431 commit d9467ab
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
8 changes: 7 additions & 1 deletion packages/revchiver/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# v6.0.0 (2023-01-14)
# v0.7.0 (2025-01-11)

- BREAKING: Revchiver now requires Node v18 or later and Revolt.JS v7.
- BREAKING: `archiveChannel()` now takes 3 parameters and requries a `Client` object as its first parameter.
- The package should now be smaller.

# v0.6.0 (2023-01-14)

- BREAKING: You must now import functions from the package itself - replace any imports from `revchiver/dist` with imports from `revchiver`.
- Reactions are now archived.
Expand Down
7 changes: 6 additions & 1 deletion packages/revchiver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,20 @@

Archiving library for Revolt.

## Requirements

Revchiver requires Node 18 or later and Revolt.JS v7.

## Usage

Basic example - **make sure to pass Revolt.JS messages to the function**:

```ts
import { archiveChannel } from "revchiver";

const client = "<insert revolt.js client object here>";
const msg = "<insert revolt.js message object here>";
const ignoredMsgs = ["array", "of", "message", "objects"];

const data = await archiveChannel(msg, ignoredMsgs);
const data = await archiveChannel(client, msg, ignoredMsgs);
```
2 changes: 1 addition & 1 deletion packages/revchiver/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "revchiver",
"version": "0.6.0",
"version": "0.7.0",
"description": "Archiving library for Revolt.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit d9467ab

Please sign in to comment.