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
+3
-3
@@ -140,7 +140,7 @@ public:
|
||||
* @param size The size of the avatar in pixels. It can be any power of two between 16 and 4096,
|
||||
* otherwise the default sized avatar is returned.
|
||||
* @param format The format to use for the avatar. It can be one of `i_webp`, `i_jpg`, `i_png` or `i_gif`.
|
||||
* Passing `i_gif` might result in an invalid url for non-animated images. Consider using the `prefer_animated` parameter instead.
|
||||
* When passing `i_gif`, it returns an empty string for non-animated images. Consider using the `prefer_animated` parameter instead.
|
||||
* @param prefer_animated Whether you prefer gif format.
|
||||
* If true, it'll return gif format whenever the image is available as animated.
|
||||
* @return std::string avatar url or an empty string, if required attributes are missing or an invalid format was passed
|
||||
@@ -305,7 +305,7 @@ public:
|
||||
bool has_animated_icon() const;
|
||||
|
||||
/**
|
||||
* @brief Format a username into user#discriminator
|
||||
* @brief Format a username into user\#discriminator
|
||||
*
|
||||
* For example Brain#0001
|
||||
*
|
||||
@@ -371,7 +371,7 @@ public:
|
||||
* @param size The size of the banner in pixels. It can be any power of two between 16 and 4096,
|
||||
* otherwise the default sized banner is returned.
|
||||
* @param format The format to use for the avatar. It can be one of `i_webp`, `i_jpg`, `i_png` or `i_gif`.
|
||||
* Passing `i_gif` might result in an invalid url for non-animated images. Consider using the `prefer_animated` parameter instead.
|
||||
* When passing `i_gif`, it returns an empty string for non-animated images. Consider using the `prefer_animated` parameter instead.
|
||||
* @param prefer_animated Whether you prefer gif format.
|
||||
* If true, it'll return gif format whenever the image is available as animated.
|
||||
* @return std::string banner url or an empty string, if required attributes are missing or an invalid format was passed
|
||||
|
||||
Reference in new issue
Block a user