Merge pull request #42 from itsMapleLeaf/changeset-release/main
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"reacord": minor
|
|
||||||
---
|
|
||||||
|
|
||||||
breaking: more descriptive component event types
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
---
|
|
||||||
"reacord": minor
|
|
||||||
---
|
|
||||||
|
|
||||||
add new descriptive adapter methods
|
|
||||||
|
|
||||||
The reacord instance names have been updated, and the old names are now deprecated.
|
|
||||||
|
|
||||||
- `send` -> `createChannelMessage`
|
|
||||||
- `reply` -> `createInteractionReply`
|
|
||||||
|
|
||||||
These new methods also accept discord JS options. Usage example:
|
|
||||||
|
|
||||||
```ts
|
|
||||||
// can accept either a channel object or a channel ID
|
|
||||||
reacord.createChannelMessage(channel)
|
|
||||||
reacord.createChannelMessage(channel, {
|
|
||||||
tts: true,
|
|
||||||
})
|
|
||||||
reacord.createChannelMessage(channel, {
|
|
||||||
reply: {
|
|
||||||
messageReference: "123456789012345678",
|
|
||||||
failIfNotExists: false,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
|
|
||||||
reacord.createInteractionReply(interaction)
|
|
||||||
reacord.createInteractionReply(interaction, {
|
|
||||||
ephemeral: true,
|
|
||||||
})
|
|
||||||
```
|
|
||||||
|
|
||||||
These new methods replace the old ones, which are now deprecated.
|
|
||||||
@@ -1,5 +1,40 @@
|
|||||||
# reacord
|
# reacord
|
||||||
|
|
||||||
|
## 0.6.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- 11153df: breaking: more descriptive component event types
|
||||||
|
- fb0a997: add new descriptive adapter methods
|
||||||
|
|
||||||
|
The reacord instance names have been updated, and the old names are now deprecated.
|
||||||
|
|
||||||
|
- `send` -> `createChannelMessage`
|
||||||
|
- `reply` -> `createInteractionReply`
|
||||||
|
|
||||||
|
These new methods also accept discord JS options. Usage example:
|
||||||
|
|
||||||
|
```ts
|
||||||
|
// can accept either a channel object or a channel ID
|
||||||
|
reacord.createChannelMessage(channel)
|
||||||
|
reacord.createChannelMessage(channel, {
|
||||||
|
tts: true,
|
||||||
|
})
|
||||||
|
reacord.createChannelMessage(channel, {
|
||||||
|
reply: {
|
||||||
|
messageReference: "123456789012345678",
|
||||||
|
failIfNotExists: false,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
reacord.createInteractionReply(interaction)
|
||||||
|
reacord.createInteractionReply(interaction, {
|
||||||
|
ephemeral: true,
|
||||||
|
})
|
||||||
|
```
|
||||||
|
|
||||||
|
These new methods replace the old ones, which are now deprecated.
|
||||||
|
|
||||||
## 0.5.5
|
## 0.5.5
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "reacord",
|
"name": "reacord",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Create interactive Discord messages using React.",
|
"description": "Create interactive Discord messages using React.",
|
||||||
"version": "0.5.5",
|
"version": "0.6.0",
|
||||||
"homepage": "https://reacord.mapleleaf.dev",
|
"homepage": "https://reacord.mapleleaf.dev",
|
||||||
"repository": "https://github.com/itsMapleLeaf/reacord.git",
|
"repository": "https://github.com/itsMapleLeaf/reacord.git",
|
||||||
"changelog": "https://github.com/itsMapleLeaf/reacord/releases",
|
"changelog": "https://github.com/itsMapleLeaf/reacord/releases",
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
# website
|
# website
|
||||||
|
|
||||||
|
## 0.4.7
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [11153df]
|
||||||
|
- Updated dependencies [fb0a997]
|
||||||
|
- reacord@0.6.0
|
||||||
|
|
||||||
## 0.4.6
|
## 0.4.6
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"name": "website",
|
"name": "website",
|
||||||
"version": "0.4.6",
|
"version": "0.4.7",
|
||||||
"private": true,
|
"private": true,
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user