mirror of
https://github.com/danbulant/discord.js
synced 2026-06-22 00:02:13 +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 Base = require('./Base');
|
||||
const { InteractionResponseType } = require('../util/Constants');
|
||||
const Snowflake = require('../util/Snowflake');
|
||||
|
||||
/**
|
||||
|
|
@ -99,8 +98,8 @@ class Interaction extends Base {
|
|||
const resolved = await apiMessage.resolveFiles();
|
||||
|
||||
if (!this.handler(resolved)) {
|
||||
const clientID = this.client.interactionClient.clientID
|
||||
|| (await this.client.api.oauth2.applications('@me').get()).id;
|
||||
const clientID =
|
||||
this.client.interactionClient.clientID || (await this.client.api.oauth2.applications('@me').get()).id;
|
||||
|
||||
await this.client.api.webhooks(clientID, this.token).post({
|
||||
auth: false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue