Assaro / DD_Bot

Discord Bot to Control Docker Services via the Docker Socket
GNU General Public License v3.0
35 stars 5 forks source link

List command not showing in Discord #29

Closed BrianLanghoor closed 8 months ago

BrianLanghoor commented 10 months ago

Not sure if it has been removed. But by looking at the code it should still be there. In my case, there is no /list command showing up in Discord

image

Also when just typing /list nothing happens.

I can live without it, but thought you might wanted to be informed by this.

Assaro commented 10 months ago

This is a problem that occurs for an unknown reason. My best guess is that it is a rate limit by Discord's API combined with a caching problem. I have had it occur much more severely and managed to mitigate it mostly by changing the command initialization. I may have to do more research, but it is a little hit or miss for me because i cannot reproduce the issue. If you want to take up the hassle try creating a second bot and see if that fixes it. Maybe even stopping the bot and waiting a few hours might work, my testers at least reported that.