mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-12-01 08:07:08 +01:00
Update WIP discord and some vendors.
CPR has features disabled and PCRE is fully disabled until updated to new code.
This commit is contained in:
1 parent
e0761bf3b9
commit
9298065cef
1562 files changed
+55070
-76299
No files matched your search
Vendored
+13
@@ -167,6 +167,19 @@ public:
|
||||
* @return std::string mention
|
||||
*/
|
||||
std::string get_mention() const;
|
||||
|
||||
/**
|
||||
* @brief Get the custom emoji url
|
||||
*
|
||||
* @param size The size of the emoji in pixels. It can be any power of two between 16 and 4096,
|
||||
* otherwise the default sized emoji is returned.
|
||||
* @param format The format to use for the emoji. It can be one of `i_webp`, `i_jpg`, `i_png` or `i_gif`.
|
||||
* When passing `i_gif`, it returns an empty string for non-animated emojis. Consider using the `prefer_animated` parameter instead.
|
||||
* @param prefer_animated Whether you prefer gif format.
|
||||
* If true, it'll return gif format whenever the emoji is available as animated.
|
||||
* @return std::string emoji url or an empty string, if the id is not set
|
||||
*/
|
||||
std::string get_url(uint16_t size = 0, const image_type format = i_png, bool prefer_animated = true) const;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user