From 1863451e733d69c93c8057223b1ec0996c25eebd Mon Sep 17 00:00:00 2001 From: taskmanager <51055281+Mantaraix@users.noreply.github.com> Date: Sun, 17 Mar 2024 22:42:35 +0000 Subject: [PATCH] Update main.py --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index f5d4230..fa34cc9 100644 --- a/main.py +++ b/main.py @@ -24,8 +24,8 @@ adminid = int(envadminid) bot = commands.Bot(command_prefix="/", intents=discord.Intents.all()) -def problemMessage(interaction: discord.Interaction): - return interaction.response.send_message( +async def problemMessage(interaction: discord.Interaction): + return await interaction.response.send_message( "Sorry, but there was a problem running this command. Please notify @task.mgr with details." )