string.lower
This commit is contained in:
parent
759a54a93b
commit
4087099c47
@ -17,7 +17,8 @@ local function get_pokemon(query)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function run(msg, matches)
|
local function run(msg, matches)
|
||||||
return get_pokemon(matches[1])
|
local name = string.lower(matches[1])
|
||||||
|
return get_pokemon(name)
|
||||||
end
|
end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Reference in New Issue
Block a user