Improved command error handling
This commit is contained in:
		| @@ -39,7 +39,6 @@ class BaseOnCommandErrorEvent(OnCommandErrorABC): | ||||
|         uid = uuid.uuid4() | ||||
|         self._logger.error(__name__, f'Got error: {type(error).__name__} UID: {uid}') | ||||
|  | ||||
|         # Todo: translate error messages !!! | ||||
|         if isinstance(error, commands.MissingRequiredArgument): | ||||
|             await self._messenger.send_ctx_msg(ctx, self._t.transform('common.errors.missing_required_argument'), without_tracking=True) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user