From 559570b371f0b07747102c400b2f9218e87c9ca2 Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Thu, 6 Jan 2022 22:18:14 +0100
Subject: [PATCH] 	modified:   modules/CommandLernrauminfo.py

---
 modules/CommandLernrauminfo.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/CommandLernrauminfo.py b/modules/CommandLernrauminfo.py
index 2157a73..65b01bf 100644
--- a/modules/CommandLernrauminfo.py
+++ b/modules/CommandLernrauminfo.py
@@ -28,10 +28,10 @@ class CommandLernrauminfo(AbstractCommand):
                 }]
             }]
 
-        request.respond(200, {"response_type":"in_channel", "text":msg, "attachments":att})
+        request.respond_cmd_chan(msg, att=att)
 
 
     def on_POST_interactive(self, request, data):
         if data["context"]["action"] == "click":
             self.bot.api.add_user_to_channel("3qu3dyzbupgm9kodrqaijwntgc", data["user_id"])
-            request.respond(200, {"ephemeral_text": "Du solltest gejoint worden sein: https://mattermost.fsinf.at/fsinf/channels/raeume"})
+            request.respond_interactive_temp("# :white_check_mark: Du solltest gejoint worden sein nach:\n# https://mattermost.fsinf.at/fsinf/channels/raeume")
-- 
2.43.0