aboutsummaryrefslogtreecommitdiff
path: root/src/commands/meme.rs
diff options
context:
space:
mode:
authorNathan Perry <avaglir@gmail.com>2019-01-24 19:03:37 -0500
committerNathan Perry <avaglir@gmail.com>2019-01-24 19:03:37 -0500
commit928fd4314db88c623ea991de4e6e669027f57848 (patch)
tree44099fa3a374e10c6e0e49c889a8197da50ac841 /src/commands/meme.rs
parent2c7c7c688593a758aed199ff7aedc54b3f2c34a1 (diff)
improve imports
Diffstat (limited to 'src/commands/meme.rs')
-rw-r--r--src/commands/meme.rs12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/commands/meme.rs b/src/commands/meme.rs
index 3fd9db3..de64ad5 100644
--- a/src/commands/meme.rs
+++ b/src/commands/meme.rs
@@ -1,10 +1,14 @@
+use std::sync::RwLock;
+
+use serenity::{
+ http::AttachmentType,
+ builder::CreateMessage,
+ framework::standard::Args,
+};
+
use rand::{thread_rng, Rng};
-use serenity::http::AttachmentType;
-use serenity::builder::CreateMessage;
-use serenity::framework::standard::Args;
use diesel::PgConnection;
use failure::Error;
-use std::sync::RwLock;
use lazy_static::lazy_static;
use super::*;