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 {