2/5 Lift up error to caller in Teapot lib, introduce can_talk() in Brain.pm
This commit is contained in:
@@ -8,7 +8,7 @@ use utf8;
|
||||
|
||||
use Mojo::Base 'Teapot::Bot::Object::Base';
|
||||
|
||||
$Teapot::Bot::Object::User::VERSION = '0.024';
|
||||
$Teapot::Bot::Object::User::VERSION = '0.025';
|
||||
|
||||
has 'id';
|
||||
has 'is_bot';
|
||||
@@ -41,7 +41,7 @@ Teapot::Bot::Object::User - The base class for Telegram message 'User' type
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
version 0.024
|
||||
version 0.025
|
||||
|
||||
=head1 DESCRIPTION
|
||||
The base class for Telegram message 'User' type.
|
||||
|
||||
Reference in New Issue
Block a user