diff --git a/.github/workflows/black-and-deploy.yml b/.github/workflows/black-and-deploy.yml index ee719e2..5475ddc 100644 --- a/.github/workflows/black-and-deploy.yml +++ b/.github/workflows/black-and-deploy.yml @@ -79,7 +79,7 @@ jobs: cd /home/gptbot kill -9 $(cat bot.pid) rm bot.pid - screen -dmS GPTBot python3.9 main.py + screen -dmS GPTBot python3.9 gpt3discord.py logout exit host: 104.248.105.234 diff --git a/cogs/gpt_3_commands_and_converser.py b/cogs/gpt_3_commands_and_converser.py index f0257a9..af1e40f 100644 --- a/cogs/gpt_3_commands_and_converser.py +++ b/cogs/gpt_3_commands_and_converser.py @@ -616,7 +616,9 @@ class GPT3ComCon(commands.Cog, name="GPT3ComCon"): # General catch case for everything except Exception: message = "Something went wrong, please try again later. This may be due to upstream issues on the API, or rate limiting." - await ctx.send_followup(message) if from_context else await ctx.reply(message) + await ctx.send_followup(message) if from_context else await ctx.reply( + message + ) if user_id in self.awaiting_responses: self.awaiting_responses.remove(user_id) traceback.print_exc()