Compare commits

..

2 Commits

Author SHA1 Message Date
semantic-release-bot
6885e18976 chore(release): 1.5.1 [skip ci]
## @revanced/discord-bot [1.5.1](https://github.com/revanced/revanced-bots/compare/@revanced/discord-bot@1.5.0...@revanced/discord-bot@1.5.1) (2025-09-13)

### Bug Fixes

* **bots/discord:** only fetch reference when it exists when `respondToReply` is set ([42038e6](42038e6b38))
2025-09-13 17:34:48 +00:00
Palm
42038e6b38 fix(bots/discord): only fetch reference when it exists when respondToReply is set
whoops, testing in production
2025-09-14 00:34:00 +07:00
3 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
## @revanced/discord-bot [1.5.1](https://github.com/revanced/revanced-bots/compare/@revanced/discord-bot@1.5.0...@revanced/discord-bot@1.5.1) (2025-09-13)
### Bug Fixes
* **bots/discord:** only fetch reference when it exists when `respondToReply` is set ([42038e6](https://github.com/revanced/revanced-bots/commit/42038e6b38983fefe79481359bad300dcb5e83b4))
# @revanced/discord-bot [1.5.0](https://github.com/revanced/revanced-bots/compare/@revanced/discord-bot@1.4.1...@revanced/discord-bot@1.5.0) (2025-09-13)

View File

@@ -2,7 +2,7 @@
"name": "@revanced/discord-bot",
"type": "module",
"private": true,
"version": "1.5.0",
"version": "1.5.1",
"description": "🤖 Discord bot assisting ReVanced",
"main": "src/index.ts",
"scripts": {

View File

@@ -33,7 +33,7 @@ withContext(on, 'messageCreate', async (context, msg) => {
if (response) {
logger.debug('Response found')
const toReply = (
const toReply = msg.reference?.messageId && (
respondToReply === true
? true
: (respondToReply === 'only_labeled' && label !== undefined) ||