416rehman / splite

SPLITE - Discord Bot with Slash Command Handler and Endpoint Handler, supporting AI, Music, Moderation, and more!
GNU General Public License v3.0
104 stars 29 forks source link

Slash commands not being registered properly #24

Closed shawnyu5 closed 2 years ago

shawnyu5 commented 2 years ago

The slash commands are not being registered per server. However the commands do show up when the bot is first invited to a server

To reproduce:

I suspect there is something weird going on in registerAllSlashCommands in Client.js

shawnyu5 commented 2 years ago

Not 100% sure what causes this atm, but the behavior seems very inconstant. Will mess around with it