mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-12-29 23:03:02 +05:00
refactor(shorturl): reply with generated link from response
This commit is contained in:
parent
5c4a1200dd
commit
b7ee0fe291
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class Shorturl extends BaseCommand {
|
||||||
}).then(res => res.json());
|
}).then(res => res.json());
|
||||||
|
|
||||||
interaction.editReply({
|
interaction.editReply({
|
||||||
content: `<https://s.jonnybro.ru/${res.link.slug}>`,
|
content: `<${res.shortLink}>`,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue