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