mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2025-01-08 23:05:37 +00:00
logs: Don't hardcode name "ReSwitched"
This commit is contained in:
parent
87ee51b187
commit
7840c16172
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue