Skip to content

Commit

Permalink
Remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
neont21 committed Dec 14, 2020
1 parent 841456c commit 7e16e97
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// fr Environment Variable
use std::{collections::{HashMap, HashSet}, env, sync::Arc};
use std::{collections::HashSet, env};

// for Discord API
use serenity::{
async_trait,
client::bridge::gateway::ShardManager,
framework::standard::{
Args, CommandOptions, CommandResult, CommandGroup, DispatchError, HelpOptions, help_commands, Reason, StandardFramework, macros::{
command, group, help, check, hook,
Expand All @@ -26,16 +25,6 @@ use serenity::{
// for JSON parsing
use serde::{Deserialize, Serialize};

struct ShardManagerContainer;
impl TypeMapKey for ShardManagerContainer {
type Value = Arc<Mutex<ShardManager>>;
}

struct CommandCounter;
impl TypeMapKey for CommandCounter {
type Value = HashMap<String, u64>;
}

struct Handler;
#[async_trait]
impl EventHandler for Handler {
Expand Down

0 comments on commit 7e16e97

Please sign in to comment.