#The server responded with error 405: 405

1 messages · Page 1 of 1 (latest)

vernal cipher
#

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());

forest crag
#

in the developer portal did you add bot and commands

vernal cipher
#

it's fixed, I must set that part in Client ready functions not the lamda exprestion

#

thank you anyway

forest crag
#

ah

#

yay

vernal cipher
#

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

forest crag
#

you wanna look into bulkoverwriting

vernal cipher
#

does it need some time for changes to be applied ?

forest crag
#

it can

#

to see if it worked immediately

#

use the browser

vernal cipher
#

ok

#

yep works properly