Browse Source

Merge pull request #47 from MrCakeSlayer/patch-2

Add note about slash command creation
pull/1923/head
Quin Lynch GitHub 3 years ago
parent
commit
cd531bcccc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      docs/guides/slash-commands/02-creating-slash-commands.md

+ 1
- 0
docs/guides/slash-commands/02-creating-slash-commands.md View File

@@ -81,3 +81,4 @@ public async Task Client_Ready()
} }


``` ```
**Note**: Slash commands only need to be created once. They do _not_ have to be 'created' on every startup or connection. The example simple shows creating them in the ready event as it's simpler than creating normal bot commands to register slash commands.

Loading…
Cancel
Save