mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2025-01-24 11:01:04 +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
|
age = member.joined_at - member.created_at
|
||||||
if age < config.min_age:
|
if age < config.min_age:
|
||||||
try:
|
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.")
|
" Please try again later.")
|
||||||
sent = True
|
sent = True
|
||||||
except discord.errors.Forbidden:
|
except discord.errors.Forbidden:
|
||||||
|
|
Loading…
Reference in a new issue