Implementing global commands
I have a set of commands that I want to register as global commands. Right now i am registering it as guild commands which keep on triggering the rate limit.
11 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i read discord js docs and found this
but this doesn't seem the way I initially used in my bot
i need to know where to change so that it gets registered as global commands
await guild.commands
.set(client.commands)
this is my current code that registers the commandsclient.application.commands.set
that worked
where can i find this in the discord js docs
You can use the search bar though
i did try using the search bar
but it didnt help me at all
i might be searching the wrong term
thanks anyway