#messageCreate issue

1 messages · Page 1 of 1 (latest)

dull tundra
#
const { Listener } = require("@sapphire/framework");

class messageCreateListener extends Listener {
  constructor(context, options) {
    super(context, {
      ...options,
    });
  }

  async run(message) {
    return message.channel.send("hello");
  }
}

module.exports = {
  messageCreateListener,
};```

This for some reason spams "hello" even if I send only 1 message
lean swallowBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

subtle ore
#

You're not blocking bot messages. And it doesn't only listen to your messages.

dull tundra
#

oops forgot to add that