#Pycord slash commands registration issues

1 messages · Page 1 of 1 (latest)

onyx sluice
#

This is the code I use to register the command

vague trail
#

There are a few scenarios:

  • you are running many instances of your bot
  • it is a discord issue
onyx sluice
#

I'm only running one instance of the bot, and I've already been onto the Discord Developers server for support. They said it most likely were an issue with Pycord

vague trail
sweet socket
#

Discord just disabled them all. FYI.

storm acorn
#

skull

onyx sluice
#

Well that wasn't my problem, my problem was that they'd unregister automatically. It was a problem I've had for some weeks now, but I fixed it by disposing my vm and making a new one.

viral lark
onyx sluice
#

Ah, okay, well I use 2.3.1, don't know if that does anything

#

I checked the app commands list endpoint, and when logging in the commands would stay for like, 30 seconds, then disappear

viral lark
#

Weird. You said it is fixed now? How long have you had this bot. I wonder if it could be something where a bug in pycord registration long ago stays with the bot either locally or on discords side.

onyx sluice
#

Hmm, since mid summer this year

#

I started with pycord v1.something, and I've updated through every major update

#

But the problem only started like, 3 weeks ago

#

However, I've disposed my vm a bunch of times, so I don't think that's the problem

viral lark
#

I will keep an eye out for this issue to see if I can get more info.

onyx sluice
#

👍

pastel oyster
#

R ppl still having problems w slash commands?

mortal jolt
onyx sluice
onyx sluice
#

I can't even register the commands now, it seems

#

Oh well, upon startup of the bot, they register for about 5 seconds, then disappear again

viral lark
#

Can you trying making another bot profile on the discord applications site and run the code with the new bots token?

#

Or even regen the token of your bot to ensure there are not multiple instances running.

onyx sluice
#

Token has been regenerated, and when running with my test bot, there's no issues at all

fleet skiff
#

@onyx sluice is the issue still present? If not, please close this post with /close

viral lark