NihalGazi commited on
Commit
6569be0
·
verified ·
1 Parent(s): 55f88df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -78,7 +78,7 @@ async def on_raw_reaction_add(payload):
78
  print(f"Error during GET request: {e}")
79
  translated_text = "[Error translating text]"
80
 
81
- await channel.send(f"{original_text} in {target_lang}: {translated_text}")
82
 
83
  def run_discord_bot():
84
  bot.run("MTM1MjI2OTQ4MTQwNTE4NjA3MA.GrdeHW.rYndSNvb9mepFdp_uTK4IOAmKwt31QER6hRgzg") # Replace with your bot token
 
78
  print(f"Error during GET request: {e}")
79
  translated_text = "[Error translating text]"
80
 
81
+ await channel.send(f'`{original_text}` in {target_lang}: `{translated_text}`')
82
 
83
  def run_discord_bot():
84
  bot.run("MTM1MjI2OTQ4MTQwNTE4NjA3MA.GrdeHW.rYndSNvb9mepFdp_uTK4IOAmKwt31QER6hRgzg") # Replace with your bot token