From 53dbfca8080104db3d922e40b48530d55a383753 Mon Sep 17 00:00:00 2001 From: Someone Date: Fri, 18 Mar 2022 21:32:47 +0100 Subject: [PATCH] modules/DialogManagedInfCoin.py --- modules/DialogManagedInfCoin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/DialogManagedInfCoin.py b/modules/DialogManagedInfCoin.py index bd06a45..6d1751e 100644 --- a/modules/DialogManagedInfCoin.py +++ b/modules/DialogManagedInfCoin.py @@ -66,7 +66,7 @@ class DialogManagedInfCoin(AbstractCommand): c = self.bot.api.create_dm_channel_with(data['user_id']) p = self.bot.api.create_post(c['id'], msg, props={"from_webhook":"true", "attachments":att}) - request.cmd_respond_text_temp("@bot has written you a direct message.\n:arrow_right: https://mattermost.fsinf.at/"+data["team_domain"]+"/pl/"+p["id"]) + request.respond_cmd_temp("@bot has written you a direct message.\n:arrow_right: https://mattermost.fsinf.at/"+data["team_domain"]+"/pl/"+p["id"]) def on_POST_interactive(self, request, data): -- 2.43.0