mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-24 22:24:58 +05:00
Фикс
This commit is contained in:
parent
a5342ba7c9
commit
7767b23397
1 changed files with 2 additions and 1 deletions
|
@ -32,9 +32,10 @@ class Crab extends BaseCommand {
|
||||||
* @param {Object} data
|
* @param {Object} data
|
||||||
*/
|
*/
|
||||||
async execute(client, interaction) {
|
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());
|
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
|
content: res.Link
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue