diff options
| author | Illia <[email protected]> | 2016-12-04 15:01:51 +0300 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-12-04 14:49:37 -0800 |
| commit | 2844ae158f3d8297b17a584ff9a75f1f51116f48 (patch) | |
| tree | d8d67cab470bc19a5e6a23dd50d840b3c94fbb47 /src/client/context.rs | |
| parent | Use proper comments on inline ratelimit comments (diff) | |
| download | serenity-2844ae158f3d8297b17a584ff9a75f1f51116f48.tar.xz serenity-2844ae158f3d8297b17a584ff9a75f1f51116f48.zip | |
Add documentation for models
Diffstat (limited to 'src/client/context.rs')
| -rw-r--r-- | src/client/context.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/context.rs b/src/client/context.rs index b452c0c..d5068c3 100644 --- a/src/client/context.rs +++ b/src/client/context.rs @@ -243,6 +243,9 @@ impl Context { /// simple method to read an image and encode it into base64, if you are /// reading from the filesystem. /// + /// The name of the emoji must be at least 2 characters long and can only + /// contain alphanumeric characters and underscores. + /// /// **Note**: Requires the [Manage Emojis] permission. /// /// # Examples @@ -1527,6 +1530,8 @@ impl Context { /// Use [`reset_presence`] to clear the current game, or [`set_presence`] /// for more fine-grained control. /// + /// **Note**: Maximum length is 128. + /// /// [`GameType`]: ../model/enum.GameType.html /// [`Online`]: ../model/enum.OnlineStatus.html#variant.Online /// [`OnlineStatus`]: ../model/enum.OnlineStatus.html |