diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-17 13:32:10 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-17 13:32:10 -0400 |
commit | 456f06912de38cb4d9ffa231eab1319cce2d5a08 (patch) | |
tree | 86686243037627c59d71c8fb932bcf6e90ab742f | |
parent | 703e8bd162b1b16e678c65902f08b9e406a7ffd4 (diff) | |
download | tanzanite-456f06912de38cb4d9ffa231eab1319cce2d5a08.tar.gz tanzanite-456f06912de38cb4d9ffa231eab1319cce2d5a08.tar.bz2 tanzanite-456f06912de38cb4d9ffa231eab1319cce2d5a08.zip |
defer
-rw-r--r-- | src/listeners/client/interactionCreate.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/listeners/client/interactionCreate.ts b/src/listeners/client/interactionCreate.ts index 2c1ab68..f711db1 100644 --- a/src/listeners/client/interactionCreate.ts +++ b/src/listeners/client/interactionCreate.ts @@ -39,6 +39,7 @@ export default class InteractionCreateListener extends BushListener { }); } else if (interaction.isContextMenu()) { if (interaction.id === 'View Raw') { + await interaction.deferReply({ ephemeral: true }); const embed = await ViewRawCommand.getRawData(interaction.options.getMessage('message') as BushMessage, { json: false, js: false |