#reading messages and sending them in console
1 messages · Page 1 of 1 (latest)
you have to replace client.on("message", ) with client.on("messageCreate") also its preferable that you use the Events enum, so it would be client.on(Events.MessageCreate, () => {
you should know how to do that, if not, then i recommend you taking a read about event emitters and event listeners in javascript, and also javascript fundamentals