#Slash commands not registered.

1 messages · Page 1 of 1 (latest)

desert lintel
#

Make certain that the id you entered is a guild id, not a channel id. It’s a common oops.

next sonnet
#

it is a guild id indeed

next sonnet
#

welp

desert lintel
#

Only thing really standing out to me is the sealed for the command class

#

Also, you never actually define Interaction

#

I only see it on line 16 and 53.

next sonnet
desert lintel
#

Try a
Interaction = Services.GetRequiredService<InteractionService>();
As the first line in the handler, then replace all the other
Services.Get… with Interaction. See if your commands get registered then.