-
This was answered in #31 but no longer works,
Command is always undefined even if i know for a fact that command should exist. Is there a way around this, I could even manually type in the command stuff but idk. |
Beta Was this translation helpful? Give feedback.
Answered by
Notmoodo9
Aug 5, 2024
Replies: 1 comment 8 replies
-
I fixed it kinda i changed how the commands are fetched, changed code. you can interact with it by doing this:
note that every time searchAllSlashCommand is called it has to parse all the commands on the server so it is more efficient to store the command if you want to use it multiple times. |
Beta Was this translation helpful? Give feedback.
8 replies
Answer selected by
Notmoodo9
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I fixed it kinda i changed how the commands are fetched, changed code. you can interact with it by doing this:
note that every time searchAllSlashCommand is called it has to parse all the commands on the server so it is more efficient to store the command if you want to use it multiple times.