Search
Star
1.4k
Feedback
Setup for Free
d-I❄
discord.js - Imagine ❄
•
4y ago
•
3 replies
[ ⚡ ] ElBretxa
Send a const in a code block
Need to send a constant inside a code block
const number = 5; await interaction.channel.send("
const number = 5; await interaction.channel.send("
{number
}
")
")
discord.js - Imagine ❄
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
58,084
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
")
")
const
number
=
5
;
await
interaction.channel.
send
(
"
const
number
=
5
;
await
interaction.channel.
send
(
"
Similar Threads
Embed with image in code block
d-I❄
discord.js - Imagine ❄ / djs-questions
3y ago
Const messages
d-I❄
discord.js - Imagine ❄ / djs-questions
3y ago