Why am i have something like this

I want to add a button with a website and some socials, but instead of just 'leaving Discord,' I have 'potentially dangerous file to download.' const { EmbedBuilder } = require('discord.js'); const { ActionRowBuilder, ButtonBuilder, ButtonStyle } = require('discord.js'); module.exports = { name: 'informacje', description: "Informacje o naszym studiu!", usage: '!informacje', execute: async (message, args) => { const informacje = new EmbedBuilder() .setTitle('Informacje o naszym studiu!') .addFields( {name: "・some name", value: "some value)" }, {name: "・some name", value: "some value" }, {name: "・dawdawd", value: "dwadawdw"}, {name: "・dwdawd", value: "dawdawdwa"} ) .setColor(0x00AE86) .setTimestamp() .setFooter({ text: 'Ostatnia aktualizacja'}) .setThumbnail('https://i.imgur.com/AfFp7pu.png') const row = new ActionRowBuilder().addComponents( new ButtonBuilder() .setLabel('Strona') .setStyle(ButtonStyle.Link) .setURL('some url'), new ButtonBuilder() .setLabel('IG') .setStyle(ButtonStyle.Link) .setURL('some url/'), ); await message.channel.send({ embeds: [informacje], components: [row] }); }, }; djs version** `-- [email protected]
Imgur
No description
8 Replies
d.js toolkit
d.js toolkit3w ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
lupus
lupus3w ago
Does your URL lead to a file (with extension) or just some path?
wacuus
wacuusOP3w ago
It's just a link to a profile on Instagram, and when I click it on another server, it works normally.
lupus
lupus3w ago
And when you click on the button it doesn't?
wacuus
wacuusOP3w ago
my;
No description
wacuus
wacuusOP3w ago
another server
wacuus
wacuusOP3w ago
No description
wacuus
wacuusOP3w ago
what does it mean

Did you find this page helpful?