Skip to content

Commit

Permalink
Fixed the page's top
Browse files Browse the repository at this point in the history
  • Loading branch information
Henonicks committed Nov 29, 2023
1 parent efe1ba5 commit 2af52d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docpages/example_programs/misc/using-emoji.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
\page using-emoji Using Emoji

Need your bot to use an emoji? Then the `dpp::emoji` class is just for you. It can store either a custom or a unicode emoji's name and ID. To use one in a message or when reacting to one, you use its mention. In select menus, it's the emoji object itself. Here's how to use them:
Need your bot to use an emoji?
Then the `dpp::emoji` class is just for you. It can store either a custom or a unicode emoji's name and ID. To use one in a message, you use its mention. To react, there's other kind of format: if you want to use an animated one, it's a:<name>:id, if it's static — <name>:id, if that's a unicode one — the corresponding character. Here, <name> represents the name of the emoji. In select menus, it's the emoji object itself. Here's how to use them:

\include{cpp} using_emoji.cpp

Expand Down

0 comments on commit 2af52d2

Please sign in to comment.