Browse Source

fix minor spelling mistake

pull/1958/head
quin lynch 3 years ago
parent
commit
2cabebd62f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docs/guides/interactions_framework/intro.md

+ 1
- 1
docs/guides/interactions_framework/intro.md View File

@@ -347,7 +347,7 @@ Time it takes to create a module instance and execute a `Task.Delay(0)` method u

## Registering Commands to Discord

Application commands loaded to the Interaciton Service can be registered to Discord using a number of different methods. In most cases `RegisterCommandsGloballyAsync()` and `RegisterCommandsToGuildAsync()` are the methods to use. Command registration methods can only be used after the gateway client is ready or the rest client is logged in.
Application commands loaded to the Interaction Service can be registered to Discord using a number of different methods. In most cases `RegisterCommandsGloballyAsync()` and `RegisterCommandsToGuildAsync()` are the methods to use. Command registration methods can only be used after the gateway client is ready or the rest client is logged in.

In debug environment, since Global commands can take up to 1 hour to register/update, you should register your commands to a test guild for your changes to take effect immediately. You can use the preprocessor directives to create a simple logic for registering commands:



Loading…
Cancel
Save