Araeynn commited on
Commit
df4d28d
1 Parent(s): 5659fa4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -172,13 +172,13 @@ async def on_message(message):
172
  else:
173
  with open(f"data/{guild_name}/{msgchannel_name}", "w") as f:
174
  if message.author.bot:
175
- f.write(
176
- f"GPT4 Correct system: {sysp}<|end_of_turn|>GPT4 Correct {message.author}[bot]: {message.content}<|end_of_turn|>"
177
- )
178
- else:
179
- f.write(
180
- f"GPT4 Correct system: {sysp}<|end_of_turn|>GPT4 Correct {message.author}: {message.content}<|end_of_turn|>"
181
- )
182
  with open(f"data/{guild_name}/{msgchannel_name}", "r") as f:
183
  context = f.read()
184
  if "Feeway" in guild_name:
 
172
  else:
173
  with open(f"data/{guild_name}/{msgchannel_name}", "w") as f:
174
  if message.author.bot:
175
+ f.write(
176
+ f"GPT4 Correct system: {sysp}<|end_of_turn|>GPT4 Correct {message.author}[bot]: {message.content}<|end_of_turn|>"
177
+ )
178
+ else:
179
+ f.write(
180
+ f"GPT4 Correct system: {sysp}<|end_of_turn|>GPT4 Correct {message.author}: {message.content}<|end_of_turn|>"
181
+ )
182
  with open(f"data/{guild_name}/{msgchannel_name}", "r") as f:
183
  context = f.read()
184
  if "Feeway" in guild_name: