aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/main.rs b/src/main.rs
index 2974eea..de2d3c5 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -18,10 +18,18 @@ extern crate sha1;
extern crate typemap;
extern crate url;
+use std::{
+ env,
+ thread,
+ time::{
+ Duration,
+ Instant
+ },
+};
+
+
use dotenv::dotenv;
use failure::Error;
-use self::commands::register_commands;
-pub use self::util::*;
use serenity::{
framework::{
standard::help_commands,
@@ -33,15 +41,9 @@ use serenity::{
},
prelude::*,
};
-use std::{
- env,
- thread,
- time::{
- Duration,
- Instant
- },
-};
+use self::commands::register_commands;
+pub use self::util::*;
#[cfg(feature = "diesel")]
mod db;