logs: Don't hardcode name "ReSwitched"

This commit is contained in:
Ave Ozkal 2019-02-27 11:14:54 +03:00
parent 87ee51b187
commit 7840c16172
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

@ -30,7 +30,8 @@ class Logs:
age = member.joined_at - member.created_at
if age < config.min_age:
try:
await member.send("Your account is too new to join ReSwitched."
await member.send(f"Your account is too new to "
f"join {member.guild.name}."
" Please try again later.")
sent = True
except discord.errors.Forbidden: