DEV Community

Discussion on: Build A Modern Discord Bot from Scratch. Learn the basics

Collapse
lioness100 profile image
Lioness100 • Edited on

message.content is a string. You can use any string method on it. It wouldn't be listed on discord.js docs

developer.mozilla.org/en-US/docs/W...

Thread Thread
elijahtrillionz profile image
Elijah Trillionz Author

oh wow! I didn't know about this method before. Thanks for sharing