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"]:
|
elif msg.channel.id == config()["soulscream channel id"]:
|
||||||
try:
|
try:
|
||||||
await msg.channel.send(ono.get_stats(msg.author.nick))
|
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))
|
await msg.channel.send(ono.get_stats(msg.author.name))
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
await msg.channel.send(ono.get_stats(msg.author.name))
|
await msg.channel.send(ono.get_stats(msg.author.name))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user