updated image

This commit is contained in:
mmacierzanka committed 2021-06-23 18:49:22 +02:00
1 parent b8104483fa
commit 882722d269
1 file changed
+1 -3
+1 -3
View File
@@ -78,9 +78,7 @@ If command function returns
- *string* - the returned text will be sent as a reply to the command caller - *string* - the returned text will be sent as a reply to the command caller
- *[MessageEmbed](https://discord.js.org/#/docs/main/stable/class/MessageEmbed)* - the embedded content will be sent as a standalone message - *[MessageEmbed](https://discord.js.org/#/docs/main/stable/class/MessageEmbed)* - the embedded content will be sent as a standalone message
#### Errors #### Errors
If your command throws an error, it will get logged to the console and sent to the user in a message with embedded content. **The bot will not crash.** If your command throws an error, it will get logged to the console and sent to the user in a message with embedded content. **The bot will not crash.** ([Example](https://raw.githubusercontent.com/GRZ4NA/DiscordCommands/master/assets/error_example.png))
:::image type="content" source="assets/error_example.png" alt-text="Error message example":::
### Command examples ### Command examples
#### Simple reply #### Simple reply