aboutsummaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorIllia <[email protected]>2016-12-13 21:26:29 +0200
committerzeyla <[email protected]>2016-12-13 11:26:29 -0800
commitdaf92eda815b8f539f6d759ab48cf7a70513915f (patch)
tree36145f5095e7af6fb725635dd104e9d9d3f0ea62 /src/model
parentFix readme typo (diff)
downloadserenity-daf92eda815b8f539f6d759ab48cf7a70513915f.tar.xz
serenity-daf92eda815b8f539f6d759ab48cf7a70513915f.zip
Implement command groups and buckets
* Implement command groups * change to ref mut * Implement framework API. * Remove commands field * Make it all work * Make example use command groups * Requested changes * Implement adding buckets * Add ratelimit check function * Finish everything * Fix voice example * Actually fix it * Fix doc tests * Switch to result * Savage examples * Fix docs * Fixes * Accidental push * 👀 * Fix an example * fix some example * Small cleanup * Abstract ratelimit bucket logic
Diffstat (limited to 'src/model')
-rw-r--r--src/model/user.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/user.rs b/src/model/user.rs
index c249631..9883bd1 100644
--- a/src/model/user.rs
+++ b/src/model/user.rs
@@ -104,7 +104,7 @@ impl User {
format!(cdn!("/avatars/{}/{}.jpg"), self.id, av))
}
- /// Gets user as `Member` of a server.
+ /// Gets user as `Member` of a guild.
#[cfg(all(feature="cache", feature="methods"))]
pub fn member<G>(&self, guild_id: G) -> Option<Member>
where G: Into<GuildId> {