mirror of
https://github.com/danbulant/discord.js
synced 2026-07-08 20:51:14 +00:00
lint
This commit is contained in:
parent
790b6b3b5c
commit
4599ef954f
1 changed files with 2 additions and 3 deletions
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
const APIMessage = require('./APIMessage');
|
const APIMessage = require('./APIMessage');
|
||||||
const Base = require('./Base');
|
const Base = require('./Base');
|
||||||
const { InteractionResponseType } = require('../util/Constants');
|
|
||||||
const Snowflake = require('../util/Snowflake');
|
const Snowflake = require('../util/Snowflake');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -99,8 +98,8 @@ class Interaction extends Base {
|
||||||
const resolved = await apiMessage.resolveFiles();
|
const resolved = await apiMessage.resolveFiles();
|
||||||
|
|
||||||
if (!this.handler(resolved)) {
|
if (!this.handler(resolved)) {
|
||||||
const clientID = this.client.interactionClient.clientID
|
const clientID =
|
||||||
|| (await this.client.api.oauth2.applications('@me').get()).id;
|
this.client.interactionClient.clientID || (await this.client.api.oauth2.applications('@me').get()).id;
|
||||||
|
|
||||||
await this.client.api.webhooks(clientID, this.token).post({
|
await this.client.api.webhooks(clientID, this.token).post({
|
||||||
auth: false,
|
auth: false,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue