#This is not working
1 messages · Page 1 of 1 (latest)
Name should be a name not a whole autobiography
Doubt we can match it when it has spaces
Name is not a description
Also I'm not sure what you're trying to achieve here but you should be using interaction handlers for handling interactions, not listeners.
It doesn't matter, Listeners aren't called by the name, but by the emitter
bruh
IM asking you how to to do it the way Im doing it
Like Kairen said it goes off the emitter, so the emitter is correctly setup, it doesn't matter about the name cuz other listeners work as well, I do not have time currently to learn interaction handlers, and i would like to make this work like this, on top of that, i have other interactions with "interactionCreate" and they work with no issues
So please give me an answer that will help, I didnt ask for code criticism
Well look carefully at the event name and the name of the class
Especially the first words
Once you see it, you'll probably facepalm
(sidenote that we have an Events enum to make mistakes like these less prone of occurring, granted you could still make the same mistake but it'd be a bit harder to do)
If you can't figure it out I can spell it out for you but you'll learn better by seeing it yourself
What has been confusing me for quite a while, you're using the interactionCreate event for a slash command, when you could use a Command piece instead
Hah. You missed as well what I was referring to. Look carefully at the name and the class name and then the event name.
I think I also have similar issue #1100679636599459902
And I'm actually using the Events enum. Some listeners work, some do not despite having same event to get triggered on