Update main.py

This commit is contained in:
taskmanager 2024-03-17 22:42:35 +00:00
parent 791db00b45
commit 1863451e73
1 changed files with 2 additions and 2 deletions

View File

@ -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."
)