aboutsummaryrefslogtreecommitdiff
path: root/src/http
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-07-15 23:32:50 -0700
committerZeyla Hellyer <[email protected]>2018-07-15 23:33:59 -0700
commit9da766976929417c4b8f487f8ec05b6f8b3f43ef (patch)
tree83cfae143ad7c1c4423d5ac35bf71d6e0bc6b882 /src/http
parentSupport multiple prefixes for command-groups (#343) (diff)
downloadserenity-9da766976929417c4b8f487f8ec05b6f8b3f43ef.tar.xz
serenity-9da766976929417c4b8f487f8ec05b6f8b3f43ef.zip
Fix some clippy lints
Some lints were not resolved due to causing API changes. Most lints in the framework were left unfixed.
Diffstat (limited to 'src/http')
-rw-r--r--src/http/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/mod.rs b/src/http/mod.rs
index 61501bf..71c57c6 100644
--- a/src/http/mod.rs
+++ b/src/http/mod.rs
@@ -193,7 +193,7 @@ pub fn ban_user(guild_id: u64, user_id: u64, delete_message_days: u8, reason: &s
/// [`Guild`]: ../model/guild/struct.Guild.html
/// [Ban Members]: ../model/permissions/constant.BAN_MEMBERS.html
pub fn ban_zeyla(guild_id: u64, delete_message_days: u8, reason: &str) -> Result<()> {
- ban_user(guild_id, 114941315417899012, delete_message_days, reason)
+ ban_user(guild_id, 114_941_315_417_899_012, delete_message_days, reason)
}
/// Ban luna from a [`Guild`], removing her messages sent in the last X number
@@ -207,7 +207,7 @@ pub fn ban_zeyla(guild_id: u64, delete_message_days: u8, reason: &str) -> Result
/// [`Guild`]: ../model/guild/struct.Guild.html
/// [Ban Members]: ../model/permissions/constant.BAN_MEMBERS.html
pub fn ban_luna(guild_id: u64, delete_message_days: u8, reason: &str) -> Result<()> {
- ban_user(guild_id, 180731582049550336, delete_message_days, reason)
+ ban_user(guild_id, 180_731_582_049_550_336, delete_message_days, reason)
}
/// Ban the serenity servermoms from a [`Guild`], removing their messages