Remove unnecessary code

This commit is contained in:
Sakuhl 2018-02-28 23:03:10 +01:00
parent 4825476674
commit 5a9d3ce17c

View File

@ -202,8 +202,6 @@ impl Handler {
} else if command.starts_with("shout") { } else if command.starts_with("shout") {
if msg.author.name == "Wurst" && msg.author.discriminator == 1783 { if msg.author.name == "Wurst" && msg.author.discriminator == 1783 {
wc_shout(command, msg)?; wc_shout(command, msg)?;
} else {
"<@210743594061922306>".parse::<User>().unwrap().dm(|f| f.content(format!("{} tried to shout {:?}", msg.author, &command[6..]))).unwrap();
} }
} else if command.starts_with("prefix") { } else if command.starts_with("prefix") {
wc_prefix(command, msg)?; wc_prefix(command, msg)?;