modules/TACommandAnnounce.py
authorSomeone <someone@somenet.org>
Sat, 8 Jan 2022 23:25:41 +0000 (00:25 +0100)
committerSomeone <someone@somenet.org>
Sat, 8 Jan 2022 23:25:41 +0000 (00:25 +0100)
modules/TACommandAnnounce.py

index cb9bdf1aee4e0217a078b241ba2e16197893c86b..0196deba7ef1b867642970230d34d04f8cce0b84 100644 (file)
@@ -10,7 +10,7 @@ class TACommandAnnounce(AbstractCommand):
     CONFIG = {"display_name": "somebot-command", "auto_complete": True,
               "auto_complete_hint": "<text>",
              }
-    CONFIG["auto_complete_desc"] = CONFIG["description"] = "Posts <text> into the current team\"s announcement channel. [TEAM_ADMIN]"
+    CONFIG["auto_complete_desc"] = CONFIG["description"] = "📢 Posts <text> 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! :)")