Kaveen Kumarasinghe 2 years ago
commit e058faab18

@ -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

@ -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()

Loading…
Cancel
Save