From c5a7011a918c481066de49ff54ca98c9fb6e91f7 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 16 Aug 2017 22:31:42 +0000 Subject: [PATCH] fix desc --- src/danog/MadelineProto/RPCErrorException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/RPCErrorException.php b/src/danog/MadelineProto/RPCErrorException.php index 0ea7dd768..1024a08fc 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;