From 5a9d3ce17c5f895c413c4c75d5c6d6eafdcaafba Mon Sep 17 00:00:00 2001 From: Sakuhl <2012collector@gmail.com> Date: Wed, 28 Feb 2018 23:03:10 +0100 Subject: [PATCH] Remove unnecessary code --- src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 504fcb8..fc84d90 100644 --- a/src/main.rs +++ b/src/main.rs @@ -202,8 +202,6 @@ impl Handler { } else if command.starts_with("shout") { if msg.author.name == "Wurst" && msg.author.discriminator == 1783 { wc_shout(command, msg)?; - } else { - "<@210743594061922306>".parse::().unwrap().dm(|f| f.content(format!("{} tried to shout {:?}", msg.author, &command[6..]))).unwrap(); } } else if command.starts_with("prefix") { wc_prefix(command, msg)?;