revolt.js bug #5

Closed
opened 2026-02-16 12:26:44 -05:00 by yindo · 2 comments
Owner

Originally created by @Danixd12 on GitHub (Sep 27, 2021).

When my bot tries to delete a message, this error happens. Im not the only one who have this error, and I don't know how to fix it.

Code:

import { Message } from "revolt.js/dist/maps/Messages";

msg: Message

msg.delete();

kmbSI91rXYBnjSKd3yhLb0bjUlgX6rYHnJLYHR0y5i

Originally created by @Danixd12 on GitHub (Sep 27, 2021). When my bot tries to delete a message, this error happens. Im not the only one who have this error, and I don't know how to fix it. Code: ```ts import { Message } from "revolt.js/dist/maps/Messages"; msg: Message msg.delete(); ``` ![kmbSI91rXYBnjSKd3yhLb0bjUlgX6rYHnJLYHR0y5i](https://user-images.githubusercontent.com/41576632/134950895-85110c6e-bb50-4b7b-ab96-99d3e84733cc.png)
yindo closed this issue 2026-02-16 12:26:44 -05:00
Author
Owner

@insertish commented on GitHub (Oct 10, 2021):

There's not really enough information here, I need the full code context and how you're getting the message.

@insertish commented on GitHub (Oct 10, 2021): There's not really enough information here, I need the full code context and how you're getting the message.
Author
Owner

@insertish commented on GitHub (Dec 31, 2021):

Closing due to inactivity.

@insertish commented on GitHub (Dec 31, 2021): Closing due to inactivity.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: stoatchat/javascript-client-sdk#5