lunarflu HF staff commited on
Commit
5f43217
1 Parent(s): aac60c9

add {message.author.id} to backup (more consistent compared to message.author)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ async def on_message(message):
49
  number_of_messages = number_of_messages + 1
50
  message_link = f"[#{message.channel.name}]({message.jump_url})"
51
  msgcnt = message.content
52
- backup_message = f"{number_of_messages} | {message_link} | {message.author}: {msgcnt}"
53
  # check for attachments
54
  if message.attachments:
55
  for attachment in message.attachments:
 
49
  number_of_messages = number_of_messages + 1
50
  message_link = f"[#{message.channel.name}]({message.jump_url})"
51
  msgcnt = message.content
52
+ backup_message = f"{number_of_messages} | {message_link} | {message.author.id} | {message.author}: {msgcnt}"
53
  # check for attachments
54
  if message.attachments:
55
  for attachment in message.attachments: