From af5f2b074233bf05a3c45a2c9ea8aba028bf5982 Mon Sep 17 00:00:00 2001 From: Someone Date: Sun, 9 Jan 2022 00:25:41 +0100 Subject: [PATCH] modules/TACommandAnnounce.py --- modules/TACommandAnnounce.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/TACommandAnnounce.py b/modules/TACommandAnnounce.py index cb9bdf1..0196deb 100644 --- a/modules/TACommandAnnounce.py +++ b/modules/TACommandAnnounce.py @@ -10,7 +10,7 @@ class TACommandAnnounce(AbstractCommand): CONFIG = {"display_name": "somebot-command", "auto_complete": True, "auto_complete_hint": "", } - CONFIG["auto_complete_desc"] = CONFIG["description"] = "Posts into the current team\"s announcement channel. [TEAM_ADMIN]" + CONFIG["auto_complete_desc"] = CONFIG["description"] = "📢 Posts into the current team\"s announcement channel. [TEAM_ADMIN]" def on_POST(self, request, data): @@ -19,4 +19,4 @@ class TACommandAnnounce(AbstractCommand): channel = self.bot.api.get_channel_by_name(data["team_id"], "town-square") self.bot.api.create_post(channel["id"], data["text"]) - request.cmd_respond_text_temp("### ``Done.`` :)") + request.respond_cmd_temp("## :white_check_mark: Success! :)") -- 2.43.0