diff --git a/src/danog/MadelineProto/RPCErrorException.php b/src/danog/MadelineProto/RPCErrorException.php index 0ea7dd76..1024a08f 100644 --- a/src/danog/MadelineProto/RPCErrorException.php +++ b/src/danog/MadelineProto/RPCErrorException.php @@ -30,7 +30,7 @@ class RPCErrorException extends \Exception case 'USER_PRIVACY_RESTRICTED':$message = "The user's privacy settings do not allow you to do this"; break; case 'CHANNEL_PRIVATE':$message = "You haven't joined this channel/supergroup"; break; case 'FLOOD_WAIT_666':$message = 'Spooky af m8'; break; - case 'USER_IS_BOT':$message = "Bots can't send messages to themselves"; break; + case 'USER_IS_BOT':$message = "Bots can't send messages to other bots"; break; case 'BOT_METHOD_INVALID':$message = 'This method cannot be run by a bot'; break; case 'PHONE_CODE_EXPIRED': $message = 'The phone code you provided has expired, this may happen if it was sent to any chat on telegram (if the code is sent through a telegram chat (not the official account) to avoid it append or prepend to the code some chars)'; break; case 'USERNAME_INVALID': $message = 'The provided username is not valid'; break;