fix: comment code

This commit is contained in:
March 7th
2022-06-15 18:52:06 +07:00
parent a344df8ccc
commit d2a766ef3b
2 changed files with 3 additions and 2 deletions

View File

@@ -632,6 +632,7 @@ class ApplicationCommand extends Base {
}
const data = {
type: 2, // Slash command, context menu
// Type: 4: Auto-complete
application_id: this.applicationId,
guild_id: message.guildId,
channel_id: message.channelId,
@@ -680,7 +681,7 @@ class ApplicationCommand extends Base {
if (this.type == 'CHAT_INPUT') return false;
await this.client.api.interactions.post({
body: {
type: 2, // ???
type: 2, // Slash command, context menu
application_id: this.applicationId,
guild_id: message.guildId,
channel_id: message.channelId,