Disable cleverbot integration

This commit is contained in:
Sakuhl 2018-05-02 18:42:05 +02:00
parent 2708fa565f
commit b8ad9e40c2

View File

@ -184,6 +184,7 @@ impl Handler {
let _ = msg.channel_id.say("<@395463760841539584> no u"); let _ = msg.channel_id.say("<@395463760841539584> no u");
return Ok(()); return Ok(());
} }
/*
if msg.content.contains("<@392763365409292298>") { if msg.content.contains("<@392763365409292298>") {
if let Ok(cs) = cleverbot(msg) { if let Ok(cs) = cleverbot(msg) {
*(*CS).lock() = Some(cs); *(*CS).lock() = Some(cs);
@ -194,6 +195,7 @@ impl Handler {
return Ok(()); return Ok(());
} }
} }
*/
if !msg.content.starts_with(&prefix) { if !msg.content.starts_with(&prefix) {
return Ok(()); return Ok(());
} }