1
0
Fork 0
mirror of synced 2024-05-20 04:22:29 +12:00

Remove erroneous .name attribute lookup

This commit is contained in:
phxntxm 2017-06-28 05:18:09 -05:00
parent 08bfed110d
commit 3d43659ae9

View file

@ -69,7 +69,7 @@ class StatsUpdate:
# Get the message if it exists
join_message = self.bot.db.load('server_settings', key=guild.id, pluck='welcome_message')
if not join_message:
join_message = "Welcome to the '{server.name}' server {member}!"
join_message = "Welcome to the '{server}' server {member}!"
else:
return
except (IndexError, TypeError, KeyError):