From f5bb3b8dbca1c54cb3fc4045c26a1b5245767d1a Mon Sep 17 00:00:00 2001 From: Henonicks Date: Thu, 7 Dec 2023 12:27:05 +0200 Subject: [PATCH] Changed note in the way the exception works as a reference --- docpages/example_programs/misc/using-emojis.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docpages/example_programs/misc/using-emojis.md b/docpages/example_programs/misc/using-emojis.md index 40bf8b6a58..101e11d2f5 100644 --- a/docpages/example_programs/misc/using-emojis.md +++ b/docpages/example_programs/misc/using-emojis.md @@ -2,7 +2,7 @@ Need your bot to use an emoji? Then you've come to the right place! Here are three examples of using emojis. -\note If your bot isn't in the guild where you want to use the custom emoji from, it won't work, giving you dpp::exception_error_code::err_unknown_emoji. +\note If your bot isn't in the guild where you want to use the custom emoji from, it won't work, giving you dpp::err_unknown_emoji. First - Sending emojis. You have to use its mention, which depends on the type. If it's a default emoji, you use the corresponding character. So, for example, if you wanted to send a nerd emoji, you would use the nerd unicode character. Now, custom emoji. There are two types: static and animated. Their mentions are `<:[name]:[id]>` and ``, where `[name]` means the emoji name and `[id]` is for its ID. When you send such mention, it automatically gets converted into your emoji. Here's an example of sending emojis: