This commit is contained in:
JonnyBro 2022-08-11 21:56:29 +05:00
parent a5342ba7c9
commit 7767b23397

View file

@ -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
});
}