DeprecationWarning messageCreate
See original GitHub issueAfter I start the bot and I send a text message in any channel. I get this error.
(node:9360) DeprecationWarning: The message event is deprecated. Use messageCreate instead (Use
node --trace-deprecation …to show where the warning was created)
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
The message event is deprecated. Use messageCreate ...
I found the answer to your question, even if it wasn't what was causing your problem. Where you have client.on('message', message =>.
Read more >The message event is deprecated. Use messageCreate ...
Hey guys, I keep getting this err: DeprecationWarning: The message event is deprecated. Use messageCreate instead at MessageCreateAction.handle…
Read more >DeprecationWarning: The message event is deprecated. Use ...
The message event has been renamed to messageCreate . Using message will still work, but you'll receive a deprecation warning until you switch...
Read more >Updating from v12 to v13 - discord.js Guide
The message event has been renamed to messageCreate , to bring the ... but you'll receive a deprecation warning until you switch over....
Read more >I cannot figure out where the warning was created ...
DeprecationWarning : The message event is deprecated. Use messageCreate instead at MessageCreateAction.handle ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes and the message event was deprecated so you would continue to recieve the warning until you switch to messageCreate (takes one line to switch)
Yeah, sorry, I’m going to update the code example