Remove reaction add

This commit is contained in:
Oupson 2020-08-27 15:50:07 +02:00
parent e1c2710a3b
commit bd638e3d23
1 changed files with 2 additions and 13 deletions

View File

@ -47,7 +47,8 @@ impl TypeMapKey for ShardManagerContainer {
type Value = Arc<Mutex<ShardManager>>;
}
//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);