Spaces:
Running
Running
Update app.py
Browse files
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
|
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
|