From 7767b233972d3c78f397995b37e449b953ec17e7 Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Thu, 11 Aug 2022 21:56:29 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- commands/Fun/crab.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/Fun/crab.js b/commands/Fun/crab.js index de0b2533..1e3e309a 100644 --- a/commands/Fun/crab.js +++ b/commands/Fun/crab.js @@ -32,9 +32,10 @@ class Crab extends BaseCommand { * @param {Object} data */ async execute(client, interaction) { + await interaction.deferReply(); const res = await fetch("https://and-here-is-my-code.glitch.me/img/crab").then(response => response.json()); - interaction.reply({ + interaction.editReply({ content: res.Link }); }