@discordjs/core
Advanced tools
Comparing version 0.1.1-dev.1670415672-976b234.0 to 0.2.0-dev.1670460881-73300c7.0
@@ -552,4 +552,4 @@ "use strict"; | ||
} | ||
async deleteReply(applicationId, interactionToken) { | ||
await this.webhooks.deleteMessage(applicationId, interactionToken, "@original"); | ||
async deleteReply(applicationId, interactionToken, messageId) { | ||
await this.webhooks.deleteMessage(applicationId, interactionToken, messageId ?? "@original"); | ||
} | ||
@@ -623,4 +623,4 @@ async updateMessage(interactionId, interactionToken, { files, ...data }) { | ||
} | ||
async get(channelId, threadId) { | ||
return this.rest.get(import_v107.Routes.threads(channelId, threadId)); | ||
async get(threadId) { | ||
return this.rest.get(import_v107.Routes.channel(threadId)); | ||
} | ||
@@ -627,0 +627,0 @@ async create(channelId, { message_id, ...body }) { |
{ | ||
"name": "@discordjs/core", | ||
"version": "0.1.1-dev.1670415672-976b234.0", | ||
"version": "0.2.0-dev.1670460881-73300c7.0", | ||
"description": "A thinly abstracted wrapper around the rest API, and gateway.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
404741
3183