From e9c1705b774470db39b3ac103693aa7cb61c9108 Mon Sep 17 00:00:00 2001 From: Little Monkey <106759534+PlaceReporter99@users.noreply.github.com> Date: Tue, 16 Apr 2024 15:39:22 +0100 Subject: [PATCH] Update utilitybot.py Signed-off-by: Little Monkey <106759534+PlaceReporter99@users.noreply.github.com> --- utilitybot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilitybot.py b/utilitybot.py index 225bec1..6637110 100644 --- a/utilitybot.py +++ b/utilitybot.py @@ -312,7 +312,7 @@ def msg(event): if event.user_id == 540406: try: output = subprocess.getoutput(event.content[6:]) - r.send(output[1]) + r.send(output) except: r.send("An error occured while executing the command.") else: