From d2a35dcf6e7d48741016f5159cec1d678cedcb13 Mon Sep 17 00:00:00 2001 From: Someone Date: Mon, 10 Jan 2022 17:31:42 +0100 Subject: [PATCH] modules/CommandJoinAll.py --- modules/CommandJoinAll.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/CommandJoinAll.py b/modules/CommandJoinAll.py index 002e739..5b73807 100644 --- a/modules/CommandJoinAll.py +++ b/modules/CommandJoinAll.py @@ -10,7 +10,7 @@ from AbstractCommand import AbstractCommand class CommandJoinAll(AbstractCommand): TRIGGER = "join-all" CONFIG = {"display_name": "somebot-command", "auto_complete": True} - USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = "Join all public channels in this team. There is no undo." + USEINFO = CONFIG["auto_complete_desc"] = CONFIG["description"] = AbstractCommand.ICON_PRIVATE+"Join all public channels in this team. There is no undo." def __init__(self, team_id, skip_chann_ids): @@ -26,4 +26,4 @@ class CommandJoinAll(AbstractCommand): self.bot.api.add_user_to_channel(c["id"], data["user_id"]) msg += "\n + ~"+c["name"] - request.cmd_respond_text_temp("### ``Done`` :)\nYou joined all the public channels in the team:\n{}\nA reload might be needed to display the updated list of channels".format(msg)) + request.respond_cmd_temp("## :white_check_mark: Success! :)\nYou joined all the public channels in the team:\n{}\nA reload might be needed to display the updated list of channels".format(msg)) -- 2.43.0