Search
Get Started
d-I❄
discord.js - Imagine ❄
•
3y ago
Ascensor Rural
Idk why this happens
There
's no error but the intention of the code is to send and embed when it detects a forbidden word
. But don
't works
discord.js - Imagine ❄
Join
Support server for discord.js, a Node.js module to interact with Discord's apps API.
58,335
Members
View on Discord
Was this page helpful?
Yes
No
D
d.js toolkit
•
5/23/23, 9:43 AM
• What
's your exact discord
.js
npm list discord.js
npm list discord.js
and node
node -v
node -v
version
?
• Post the full error stack trace
, not just the top part
!
• Show your code
!
• Explain what exactly your issue is
.
• Not a discord
.js issue
? Check out
#useful
-servers
.
S
Syjalo
•
5/23/23, 9:50 AM
Do you have MessageContent intent
?
S
Syjalo
Do you have MessageContent intent?
A
Ascensor Rural
OP
•
5/23/23, 9:50 AM
I
'll checek
A
Ascensor Rural
OP
•
5/23/23, 9:50 AM
A
Ascensor Rural
OP
•
5/23/23, 9:50 AM
yes
A
Ascensor Rural
OP
•
5/23/23, 9:51 AM
I edited a little the code
:
S
Syjalo
•
5/23/23, 9:56 AM
In v14 for types you need to use enums
.
ChannelType.GuildText
ChannelType.GuildText
.
Btw why are you sending the alert to all text channels
?
ChannelType.GuildText
ChannelType.GuildText