Context menu & Chat Input command names and ids are showing in Aliases Store
Is there an existing issue for this?
- [x] I have searched the existing issues
Description of the bug
when i tried to check the available aliases of my bot using this.store.aliases.keys(), but it listed out the aliases along with the context menu commands' names and ids which is not supposed to happen.
Steps To Reproduce
- eval
this.store.aliases.keys(). - look for context menu commands' names and ids in the evaluated result if you have any.
Expected behavior
in the aliases collection, it should not show up the context menu commands' names and ids.
Screenshots
Additional context
No response
System Info
System:
OS: Windows 11 10.0.22631
CPU: (12) x64 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz
Memory: 2.70 GB / 7.77 GB
Binaries:
Node: 20.14.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.8.1 - ~\AppData\Roaming\npm\npm.CMD
pnpm: 8.12.1 - ~\AppData\Roaming\npm\pnpm.CMD
bun: 1.1.0 - C:\Program Files\bun\bin\bun.EXE
Browsers:
Edge: Chromium (127.0.2651.74)
Internet Explorer: 11.0.22621.3527
src/lib/structures/Command#reload
Seems like it does this to register the appication commands
It's been a long while but I think what I talked to @vladfrangu about concerning this issue but I think the solution we ended on that is yet to be implemented is to not abuse alias store at all (truth be told I have no idea why they are there to begin with) and set this data in its own store.