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•16mo ago
You're not blocking bot messages. And it doesn't only listen to your messages.
-Carlos👑
-Carlos👑OP•16mo ago
oops forgot to add that
Want results from more Discord servers?
Add your server