From d148cf9ba15ce89030d480f248afaf76ed2514c8 Mon Sep 17 00:00:00 2001 From: Sakuhl <2012collector@gmail.com> Date: Tue, 2 Jan 2018 23:16:16 +0100 Subject: [PATCH] Fix typo --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index a0752ea..a55311a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -22,7 +22,7 @@ impl EventHandler for Handler { fn on_message(&self, _: Context, msg: Message) { if msg.content.starts_with("wc!guild ") { wc_guild(msg); - } else if msg.conten == "wc!topguilds" { + } else if msg.content == "wc!topguilds" { wc_topguilds_limit(msg, 10); } else if msg.content.starts_with("wc!topguilds ") { wc_topguilds(msg);