This repository was archived by the owner on Apr 20, 2022. It is now read-only.
Replies: 2 comments 5 replies
-
You can just delete and re-add all of the slash commands. The caching is internal to Discord and cannot be disabled. The following code worked for me:
|
Beta Was this translation helpful? Give feedback.
5 replies
-
You don't need to do any of this. Discord has an endpoint for application commands called |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
Is there any way to turn off or at least reset caching in slash commands?
I have a slash command that sets user limit to voice channel. It takes voice channel caller currently in, takes it's number of users and sets the limit. But because of caching the actual behavior is unpredictable. It can lock another channel where user was an hour ago or lock it to wrong number of users.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions