refactor(shorturl): reply with generated link from response

This commit is contained in:
Jonny_Bro (Nikita) 2024-12-09 11:06:22 +05:00
parent 5c4a1200dd
commit b7ee0fe291

View file

@ -63,7 +63,7 @@ class Shorturl extends BaseCommand {
}).then(res => res.json());
interaction.editReply({
content: `<https://s.jonnybro.ru/${res.link.slug}>`,
content: `<${res.shortLink}>`,
});
}
}