api: fix description of slash command query

This commit is contained in:
shagu
2020-11-16 15:28:28 +01:00
parent 56eac22360
commit 2e816f71d7
+1 -1
View File
@@ -167,7 +167,7 @@ end
-- [ GetSlashCommands ]
-- Lists all registeres slash commands
-- 'text' [string] optional, a specific command to find
-- return: [list/bool] if
-- return: [list] a list of all matching slash commands
function pfUI.api.GetSlashCommands(text)
local cmds
for k, v in pairs(_G) do