Align text (it bugs me)

Literal, medical autism 👌
This commit is contained in:
Ave Ozkal 2019-04-24 10:50:46 +03:00
parent 72fd1c78bb
commit 170116a641
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

@ -101,18 +101,18 @@ class Logs(Cog):
f"{escaped_name}\n"\ f"{escaped_name}\n"\
f"🗓 __Creation__: {member.created_at}\n"\ f"🗓 __Creation__: {member.created_at}\n"\
f"🕓 Account age: {age}\n"\ f"🕓 Account age: {age}\n"\
f" Joined with: {invite_used}\n"\ f" Joined with: {invite_used}\n"\
f"🏷 __User ID__: {member.id}" f"🏷 __User ID__: {member.id}"
if not sent: if not sent:
msg += "\nThe user has disabled direct messages,"\ msg += "\nThe user has disabled direct messages, "\
" so the reason was not sent." "so the reason was not sent."
await log_channel.send(msg) await log_channel.send(msg)
return return
msg = f"✅ **Join**: {member.mention} | "\ msg = f"✅ **Join**: {member.mention} | "\
f"{escaped_name}\n"\ f"{escaped_name}\n"\
f"🗓 __Creation__: {member.created_at}\n"\ f"🗓 __Creation__: {member.created_at}\n"\
f"🕓 Account age: {age}\n"\ f"🕓 Account age: {age}\n"\
f" Joined with: {invite_used}\n"\ f" Joined with: {invite_used}\n"\
f"🏷 __User ID__: {member.id}" f"🏷 __User ID__: {member.id}"
# Handles user restrictions # Handles user restrictions