spiffbot/lua/help.lua
2024-09-09 07:40:00 -03:00

18 lines
No EOL
1.1 KiB
Lua

COMMAND["help"] = {
aliases = { "h" }, -- other strings that you can run the command from
pretty_name = "Help", -- the name of the command as it shows up in menues and other commands that use its pretty name
name = "help", -- the main required string used to call the command
command_category = commandCategory.info, -- this can be any string, but the bot provides a few categories already
help = "Shows you helpful information for the bot. Seems you already know how to use it. :loafplink:",
timeout = nil, -- time in milliseconds that the user must wait before running the command again
hidden = false, -- whether or not other commands should acknowledge its existance, for example we dont want dev commands showing up in the help info for regular users, regardless if they can use them or not
permissions = nil, -- which discord permissions they need to run the command
FUNC = function(context, message, guildid)
for t in COMMAND do
print("Help info for command " + t)
end
end
}
COMMAND["help"].FUNC()