messageCreate issue

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,
};
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
2 Replies
b1nzee
b1nzee•15mo ago
You're not blocking bot messages. And it doesn't only listen to your messages.
-Carlos🎃
-Carlos🎃•15mo ago
oops forgot to add that
Want results from more Discord servers?
Add your server