diff options
| author | 2019-12-10 17:11:44 +0000 | |
|---|---|---|
| committer | 2019-12-10 17:11:44 +0000 | |
| commit | 6f8338b7b5140ae45ba4df2220b4983fc8994195 (patch) | |
| tree | 66cc0b38a33aee10359bc44563326b0748a021f9 /src/core_modules/commands | |
| parent | default command responses in PM to use NOTICE (diff) | |
| signature | ||
allow users to set command-method for PMs with them
Diffstat (limited to 'src/core_modules/commands')
| -rw-r--r-- | src/core_modules/commands/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core_modules/commands/__init__.py b/src/core_modules/commands/__init__.py index b31b3320..ec97c121 100644 --- a/src/core_modules/commands/__init__.py +++ b/src/core_modules/commands/__init__.py @@ -36,9 +36,10 @@ SETTING_COMMANDMETHOD = utils.OptionsSetting(COMMAND_METHODS, COMMAND_METHOD, "Set the command prefix used in this channel", example="!")) @utils.export("serverset", utils.Setting("command-prefix", "Set the command prefix used on this server", example="!")) +@utils.export("botset", SETTING_COMMANDMETHOD) @utils.export("serverset", SETTING_COMMANDMETHOD) @utils.export("channelset", SETTING_COMMANDMETHOD) -@utils.export("botset", SETTING_COMMANDMETHOD) +@utils.export("set", SETTING_COMMANDMETHOD) @utils.export("channelset", utils.BoolSetting("hide-prefix", "Disable/enable hiding prefix in command reponses")) @utils.export("channelset", utils.BoolSetting("commands", |
