From c32b4e00e4f38549dfdc8aa62e5b5a4680b0d3c4 Mon Sep 17 00:00:00 2001 From: Henonicks Date: Thu, 7 Dec 2023 10:41:28 +0200 Subject: [PATCH] removed the exception from codeblock --- 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 be5332af8c..40bf8b6a58 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::exception_error_code::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: