From 3b74fbd8fe167ed0d4c750d78c9ffa6d56b6d72c Mon Sep 17 00:00:00 2001 From: Someone Date: Mon, 10 Jan 2022 17:27:25 +0100 Subject: [PATCH] modules/CommandRandomFoodSource.py --- modules/CommandRandomFoodSource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/CommandRandomFoodSource.py b/modules/CommandRandomFoodSource.py index 59ff1d2..867a119 100644 --- a/modules/CommandRandomFoodSource.py +++ b/modules/CommandRandomFoodSource.py @@ -23,4 +23,4 @@ class CommandRandomFoodSource(AbstractCommand): def on_POST(self, request, data): pinned_posts = self.bot.api.get_channel_posts_pinned(self.channel_id)["posts"] rnd_post_url = ":arrow_right: https://mattermost.fsinf.at/fsinf/pl/"+random.choice(list(pinned_posts.keys())) - request.cmd_respond_text_temp("# You eat here\n"+rnd_post_url) + request.respond_cmd_temp("# You eat here\n"+rnd_post_url) -- 2.43.0