📝 removed references to error codes

This commit is contained in:
NikolajDanger
2021-08-20 16:39:44 +02:00
parent f4c485dfe0
commit c7a0c773dc
7 changed files with 50 additions and 51 deletions

View File

@ -154,8 +154,8 @@ class LookupFuncs():
self.bot.log("Returning spell information")
send_message = (f"***{query}***\n*{data[query]['level']} level {data[query]['school']}\nCasting Time: {data[query]['casting_time']}\nRange:{data[query]['range']}\nComponents:{data[query]['components']}\nDuration:{data[query]['duration']}*\n \n{data[query]['description']}")
else:
self.bot.log("I don't know that spell (error code 501)")
send_message = "I don't think that's a spell (error code 501)"
self.bot.log("I don't know that spell")
send_message = "I don't think that's a spell"
if len(send_message) > 2000:
await ctx.send(send_message[:2000])