Skip to content

Commit

Permalink
refactor: changed comments to follow new standard
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaskowicz1 committed Oct 21, 2023
1 parent e53d9f9 commit e3083ce
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions include/dpp/emoji.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,30 @@ class DPP_EXPORT emoji : public managed, public json_interface<emoji> {
json to_json_impl(bool with_id = false) const;

public:
std::string name{}; //!< emoji name
std::vector<snowflake> roles; //!< roles allowed to use this emoji
snowflake user_id; //!< user id that created this emoji
std::string image_data{}; //!< Image data for the emoji if uploading
uint8_t flags{0}; //!< Flags for the emoji from dpp::emoji_flags
/**
* @brief Emoji name.
*/
std::string name{};

/**
* @brief Roles allowed to use this emoji.
*/
std::vector<snowflake> roles;

/**
* @brief The id of the user that created this emoji.
*/
snowflake user_id;

/**
* @brief Image data for the emoji, if uploading.
*/
std::string image_data;

/**
* @brief Flags for the emoji from dpp::emoji_flags.
*/
uint8_t flags{0};

/**
* @brief Construct a new emoji object
Expand Down

0 comments on commit e3083ce

Please sign in to comment.