diff options
| author | Illia <[email protected]> | 2016-12-31 16:39:46 +0300 |
|---|---|---|
| committer | Illia <[email protected]> | 2016-12-31 16:39:46 +0300 |
| commit | 52e871383317c85ce8144ecae4120633da367928 (patch) | |
| tree | 64f3fedc2f4d9a8be97c2c1731ed947968fc634a /src/client/rest/mod.rs | |
| parent | Add command alias support and command.example (diff) | |
| download | serenity-52e871383317c85ce8144ecae4120633da367928.tar.xz serenity-52e871383317c85ce8144ecae4120633da367928.zip | |
Fix typo
Diffstat (limited to 'src/client/rest/mod.rs')
| -rw-r--r-- | src/client/rest/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/rest/mod.rs b/src/client/rest/mod.rs index 1af067d..6ecbd94 100644 --- a/src/client/rest/mod.rs +++ b/src/client/rest/mod.rs @@ -74,7 +74,7 @@ pub fn set_token(token: &str) { /// event is received. /// /// **Note**: This will fail if you are already in the guild, or are banned. A -/// ban is equivilant to an IP ban. +/// ban is equivalent to an IP ban. /// /// **Note**: Requires that the current user be a user account. Bots can not /// accept invites. Instead, they must be accepted via OAuth2 authorization @@ -160,7 +160,7 @@ pub fn add_member_role(guild_id: u64, user_id: u64, role_id: u64) -> Result<()> /// Bans a [`User`] from a [`Guild`], removing their messages sent in the last /// X number of days. /// -/// Passing a `delete_message_days` of `0` is equivilant to not removing any +/// Passing a `delete_message_days` of `0` is equivalent to not removing any /// messages. Up to `7` days' worth of messages may be deleted. /// /// **Note**: Requires that you have the [Ban Members] permission. |