aboutsummaryrefslogtreecommitdiffstats
path: root/slack/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'slack/commands.py')
-rw-r--r--slack/commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/slack/commands.py b/slack/commands.py
index 48f7b23..cd626a7 100644
--- a/slack/commands.py
+++ b/slack/commands.py
@@ -366,12 +366,12 @@ def command_slack_debug(buffer: str, args: List[str], options: Options):
print_uncaught_error(error, True, options)
-@weechat_command("-clean")
+@weechat_command("-clear")
def command_slack_status(buffer: str, args: List[str], options: Options):
status = args[0]
slack_buffer = shared.buffers.get(buffer)
if slack_buffer is not None:
- if options.get("clean"):
+ if options.get("clear"):
run_async(slack_buffer.workspace.api.clear_user_status())
elif slack_buffer and len(status) > 0:
run_async(slack_buffer.workspace.api.set_user_status(status))