Remove reaction add
This commit is contained in:
parent
e1c2710a3b
commit
bd638e3d23
13
src/main.rs
13
src/main.rs
|
@ -48,6 +48,7 @@ impl TypeMapKey for ShardManagerContainer {
|
|||
}
|
||||
|
||||
// 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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue