Added error message for DataError
parent
f5a61e02c0
commit
5c0f43ed7b
|
@ -93,6 +93,9 @@ class GeoffreyBot(commands.Bot):
|
||||||
elif e == "TypeError":
|
elif e == "TypeError":
|
||||||
error_str = "Well bud, you got this far. Good job! But you still h*cked up the syntax. Check {}help." \
|
error_str = "Well bud, you got this far. Good job! But you still h*cked up the syntax. Check {}help." \
|
||||||
.format(self.prefix)
|
.format(self.prefix)
|
||||||
|
elif e == "DataError":
|
||||||
|
error_str = "Slow down their slugger, that's a logn word or number you are trying to cram into me, try " \
|
||||||
|
"again with something smaller"
|
||||||
|
|
||||||
if error_str is '':
|
if error_str is '':
|
||||||
await self.send_error_message(
|
await self.send_error_message(
|
||||||
|
|
Loading…
Reference in New Issue