#Global Slash Command

1 messages · Page 1 of 1 (latest)

scarlet igloo
#

client.application.commands

#

the guide is helpful sometimes

hybrid thunder
#

we dont write code for u

scarlet igloo
#

rule 5

severe ginkgo
#

just replace this

await client.guilds.cache.get('861948446910578699').commands.set(client.commands.map(command => command))
``` with this
```js
await client.application.commands.set(client.commands.map(command => command))
#

up to 1 hr

severe ginkgo
#

up to 1 hour

#

discord doesnt just enable it for every guild instantly

#

it enables it one by one

#

and it's guaranteed to be enabled for all guilds after 1 hr