From ad9769ace64acb29780e165bc67a4ba285265e68 Mon Sep 17 00:00:00 2001 From: Ryan Cao <70191398+ryanccn@users.noreply.github.com> Date: Tue, 30 Aug 2022 10:58:54 +0800 Subject: [PATCH] e --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 8f3be1a..90d4d62 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,5 @@ import { Client, GatewayIntentBits, Partials, OAuth2Scopes } from 'discord.js'; +import { reuploadCommands } from './_reupload'; import * as BuildConfig from './constants'; import { parseLog } from './logs'; @@ -12,7 +13,6 @@ import { tagsCommand } from './commands/tags'; import random from 'just-random'; import { green, bold, yellow } from 'kleur/colors'; import 'dotenv/config'; -import { reuploadCommands } from './_reupload'; const client = new Client({ intents: [ @@ -114,7 +114,7 @@ client.on('interactionCreate', async (interaction) => { } else if (commandName === 'say') { if (!interaction.channel) return; - await interaction.deferReply(); + await interaction.deferReply({ ephemeral: true }); await interaction.channel.send(interaction.options.getString('content')!); await interaction.editReply('I said what you said!'); } else if (commandName === 'tag') {