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** `-- discord.js@14.17.2
Zrzut_ekranu_2025-01-05_181456.png
Imgur
Was this page helpful?