© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Why am i have something like this - discord.js - Imagine an app
d-Iaa
discord.js - Imagine an app
•
15mo ago
•
8 replies
wacuu
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
Imgur
discord.js - Imagine an app
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
57,693
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
How Can I make something like this?
d-Iaa
discord.js - Imagine an app / djs-questions
3y ago
Why am I getting this error?
d-Iaa
discord.js - Imagine an app / djs-questions
3y ago
why am i getting this error?
d-Iaa
discord.js - Imagine an app / djs-questions
3y ago