diff --git a/src/main.rs b/src/main.rs index fee62b9..6fa8a9a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -47,7 +47,8 @@ impl TypeMapKey for ShardManagerContainer { type Value = Arc>; } -//TODO CLAP FOR CLI +// TODO CLAP FOR CLI +// TODO USE LOG #[tokio::main] async fn main() -> IoResult<()> { let conf: config::Conf = toml::from_str(&std::fs::read_to_string("Conf.toml")?)?; @@ -203,18 +204,6 @@ impl Messages { #[async_trait] impl EventHandler for Messages { - async fn reaction_add(&self, _ctx: Context, reaction: Reaction) { - debugln!("Reaction added : {:?}", reaction); - /* - if let Err(e) = self._reaction_add(ctx, reaction).await { - eprintln!("{}", e); - }*/ - } - - async fn shard_stage_update(&self, _ctx: Context, s: ShardStageUpdateEvent) { - println!("Shard stage update : {:?}",s ); - } - async fn ready(&self, ctx: Context, ready: Ready) { println!("{} connected to discord", ready.user.name);