smol fixes

This commit is contained in:
s-prechtl 2021-10-05 11:30:01 +02:00
parent 17d801a34f
commit b801edaa45

View file

@ -140,7 +140,7 @@ class MyClient(discord.Client):
await message.channel.send(err) await message.channel.send(err)
print("Exception in Mastery " + str(e)) print("Exception in Mastery " + str(e))
if sumname != "": if sumname != "":
if not self.checkSumname(sumname): if not await self.checkSumname(sumname, message):
return return
try: try:
listlen = int(message.content.split(" ")[1]) listlen = int(message.content.split(" ")[1])