From 7e16e97446de2c8b23cd0e58b3989b75aae5fa75 Mon Sep 17 00:00:00 2001 From: Pt J Date: Mon, 14 Dec 2020 19:14:53 +0900 Subject: [PATCH] Remove unused --- src/main.rs | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/main.rs b/src/main.rs index 5c92651..fdad9a7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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, @@ -26,16 +25,6 @@ use serenity::{ // for JSON parsing use serde::{Deserialize, Serialize}; -struct ShardManagerContainer; -impl TypeMapKey for ShardManagerContainer { - type Value = Arc>; -} - -struct CommandCounter; -impl TypeMapKey for CommandCounter { - type Value = HashMap; -} - struct Handler; #[async_trait] impl EventHandler for Handler {