Update main.py

This commit is contained in:
binlab
2024-04-11 19:30:08 +00:00
parent 611dcda7c4
commit 66ece6b0e6

View File

@@ -69,7 +69,7 @@ async def msginfo(ctx, user: discord.Option(choices=[os.environ['N1'], os.enviro
channel = bot.get_channel(1153429735527948399) channel = bot.get_channel(1153429735527948399)
msg = await channel.fetch_message(1153429808429158460) msg = await channel.fetch_message(1153429808429158460)
await ctx.respond(f"La lista de {user} tiene {len(msg)} de 2000 caracteres") await ctx.respond(f"La lista de {user} tiene {len(msg.content)} de 2000 caracteres")
except Exception as e: except Exception as e:
await send_log(f"rip. Error: ```{e}```") await send_log(f"rip. Error: ```{e}```")