Merge branch 'master' of https://github.com/Sakimori/matteo-the-prestige
This commit is contained in:
commit
b3c045664b
|
@ -44,7 +44,7 @@ async def on_message(msg):
|
|||
elif msg.channel.id == config()["soulscream channel id"]:
|
||||
try:
|
||||
await msg.channel.send(ono.get_stats(msg.author.nick))
|
||||
except TypeError:
|
||||
except TypeError or AttributeError:
|
||||
await msg.channel.send(ono.get_stats(msg.author.name))
|
||||
except AttributeError:
|
||||
await msg.channel.send(ono.get_stats(msg.author.name))
|
||||
|
|
Loading…
Reference in New Issue
Block a user