This commit is contained in:
Ryan Cao 2022-08-30 10:58:54 +08:00
parent acd576343b
commit ad9769ace6
No known key found for this signature in database
GPG key ID: 528A2C1B6656B97F

View file

@ -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') {