From 5d8fd70be34bdd51b4d8ab9e811d0c6e2403e808 Mon Sep 17 00:00:00 2001 From: Sakuhl <2012collector@gmail.com> Date: Tue, 2 Jan 2018 23:14:47 +0100 Subject: [PATCH] Add default top guild limit --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index ff02400..a0752ea 100644 --- a/src/main.rs +++ b/src/main.rs @@ -22,6 +22,8 @@ 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" { + wc_topguilds_limit(msg, 10); } else if msg.content.starts_with("wc!topguilds ") { wc_topguilds(msg); } else if msg.content.starts_with("wc!territory ") {