Browse Source

Fix remaining --verifytypes related errors

pull/10109/head
Rapptz 3 years ago
committed by dolfies
parent
commit
8f4f35ed51
  1. 2
      discord/ext/commands/core.py

2
discord/ext/commands/core.py

@ -978,7 +978,7 @@ class Command(_BaseCommand, Generic[CogT, P, T]):
if not asyncio.iscoroutinefunction(coro):
raise TypeError('The error handler must be a coroutine.')
self.on_error: Error[Any] = coro
self.on_error: Error[CogT, Any] = coro
return coro
def has_error_handler(self) -> bool:

Loading…
Cancel
Save