Compare commits

..

4 commits

Author SHA1 Message Date
Slincnik
c37789162e
Merge b7ee0fe291 into b570759c09 2024-12-09 11:06:45 +05:00
b7ee0fe291 refactor(shorturl): reply with generated link from response 2024-12-09 11:06:22 +05:00
Jonny_Bro (Nikita)
5c4a1200dd
Update README.md
remove codefactor image
2024-12-09 10:34:53 +05:00
Jonny_Bro (Nikita)
b570759c09
Update README.md
remove codefactor image
2024-12-09 10:33:09 +05:00
2 changed files with 1 additions and 2 deletions

View file

@ -5,7 +5,6 @@ JaBa is an open source Discord Bot written by [Jonny_Bro](https://github.com/Jon
[![image](https://img.shields.io/discord/892727526911258654?logo=discord&&colorB=00BFFF&label=Discord&style=flat-square)](https://discord.gg/Ptkj2n9nzZ) [![image](https://img.shields.io/discord/892727526911258654?logo=discord&&colorB=00BFFF&label=Discord&style=flat-square)](https://discord.gg/Ptkj2n9nzZ)
[![image](https://img.shields.io/badge/discord.js-v14.14.1-blue.svg?logo=npm)](https://github.com/discordjs/discord.js) [![image](https://img.shields.io/badge/discord.js-v14.14.1-blue.svg?logo=npm)](https://github.com/discordjs/discord.js)
[![image](https://www.codefactor.io/repository/github/JonnyBro/JaBa/badge)](https://www.codefactor.io/repository/github/JonnyBro/JaBa)
[![image](https://img.shields.io/github/license/JonnyBro/JaBa?label=License&style=flat-square)](https://github.com/JonnyBro/JaBa/blob/main/LICENSE) [![image](https://img.shields.io/github/license/JonnyBro/JaBa?label=License&style=flat-square)](https://github.com/JonnyBro/JaBa/blob/main/LICENSE)
## Functionality ## Functionality

View file

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