mirror of
https://github.com/SrIzan10/vinci.git
synced 2026-06-06 01:07:00 +00:00
feat: auto download gif using my API
This commit is contained in:
@@ -137,7 +137,7 @@ export default commandModule({
|
||||
new ButtonBuilder()
|
||||
.setLabel('Enlace al GIF')
|
||||
.setEmoji('📲')
|
||||
.setURL(message.attachments.first()!.url)
|
||||
.setURL(`https://api.srizan.ml/misc/download?url=${message.attachments.first()!.url}&type=gif`)
|
||||
.setStyle(ButtonStyle.Link)
|
||||
);
|
||||
await ctx.interaction.editReply({
|
||||
|
||||
Reference in New Issue
Block a user