fix: markUnread
This commit is contained in:
@@ -110,7 +110,6 @@ class DMChannel extends Channel {
|
||||
this.client.api
|
||||
.channels(this.id)
|
||||
.call.ring.post({
|
||||
usingApplicationJson: true,
|
||||
data: {
|
||||
recipients: null,
|
||||
},
|
||||
|
@@ -999,8 +999,7 @@ class Message extends Base {
|
||||
* @returns {boolean}
|
||||
*/
|
||||
async markUnread() {
|
||||
await this.client.api.channels[this.channelId].messages[this.id].ack({
|
||||
usingApplicationJson: true,
|
||||
await this.client.api.channels[this.channelId].messages[this.id].ack.post({
|
||||
data: {
|
||||
manual: true,
|
||||
mention_count:
|
||||
|
@@ -215,8 +215,7 @@ class PartialGroupDMChannel extends Channel {
|
||||
this.client.api
|
||||
.channels(this.id)
|
||||
.call.ring.post({
|
||||
usingApplicationJson: true,
|
||||
data: {
|
||||
body: {
|
||||
recipients: null,
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user