using this guide
to setup slash commands but it raises this error
"Unhandled exception. Discord.Net.HttpException: The server responded with error 405: 405: Method Not Allowed"
at line
await
client.CreateGlobalApplicationCommandAsync(globalCommand.Build());
#The server responded with error 405: 405
1 messages · Page 1 of 1 (latest)
in the developer portal did you add bot and commands
it's fixed, I must set that part in Client ready functions not the lamda exprestion
thank you anyway
lol w8 you are right
I tried it in lamda now and it's working
I remember I added bot commands in developer portal
so how can I clean old cache since i was using another library and the old commands still exist visualy
you wanna look into bulkoverwriting
does it need some time for changes to be applied ?