From a2052f0362d66493d05aec9cbdd151bfc1011a5f Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Fri, 5 Dec 2025 00:31:28 +0500 Subject: feat: dynamic prefixes in custom commands --- luamods/cmd.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'luamods') diff --git a/luamods/cmd.lua b/luamods/cmd.lua index a7676ce..514ec8b 100644 --- a/luamods/cmd.lua +++ b/luamods/cmd.lua @@ -62,6 +62,7 @@ The `!cmd` command gives the ability to create their own chat commands. + `[name]` - The name for new custom command. It should be unique for your chat. **A prefix must be specified if you want a prefixed command, e.g. `!sub`, `!server`.** +You can use `{prefix}` *(dynamic prefix)*, for example `{prefix}sub, {prefix}server`. It will be replaced with the current prefix in the chat. + `[message]` - Text that will be sent when the custom command is invoked. ### Delete the custom command -- cgit v1.2.3