mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-20 20:16:06 -04:00
bug: Error deleting a message after bot sends DM to user #24
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Apr 17, 2023).
What happened?
Revolt.js 7 seems to not handle deleting messages using
message.delete()orchannel.deleteMessages()correctly after a DM is sent.Error message:
Code is available here
Removing
message.delete()/channel.deleteMessages()seems to fix the issue.Currently using revolt.js
7.0.0-beta.1. Built locally.EDIT: Add version information
@ghost commented on GitHub (Apr 26, 2023):
Issue persists in revolt.js 7.0.0-beta.4
@MagnusHJensen commented on GitHub (May 23, 2023):
Can't reproduce on revolt.js 7.0.0-beta.6. (Built locally)
@insertish commented on GitHub (Mar 28, 2024):
Assuming this was fixed.