From 4087099c47e637214a743714a4ba42eacbc75445 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Sat, 23 May 2015 17:51:24 +0200 Subject: [PATCH] string.lower --- plugins/pokedex.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/pokedex.lua b/plugins/pokedex.lua index f7ff5b5..8589e79 100644 --- a/plugins/pokedex.lua +++ b/plugins/pokedex.lua @@ -17,7 +17,8 @@ local function get_pokemon(query) end local function run(msg, matches) - return get_pokemon(matches[1]) + local name = string.lower(matches[1]) + return get_pokemon(name) end return {