You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ Version 2.1.7
11
11
# SYNOPSIS
12
12
13
13
Program design:
14
-
This is a Moose based Class.
14
+
This is a Moo based Class.
15
15
16
16
The idea behind the module is that someone creating a bot should not really have to know a whole lot about how the Jabber protocol works in order to use it. It also allows us to abstract away all the things that can get a bot maker into trouble. Essentially the object helps protect the coders from their own mistakes.
Copy file name to clipboardExpand all lines: CLAUDE.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## What is this
4
4
5
-
Net::Jabber::Bot is a Perl module for creating automated XMPP/Jabber bots with built-in safety features (message rate limiting, flood protection, reconnection handling). Built on Moose and Net::Jabber.
5
+
Net::Jabber::Bot is a Perl module for creating automated XMPP/Jabber bots with built-in safety features (message rate limiting, flood protection, reconnection handling). Built on Moo and Net::Jabber.
has 'max_message_size'=> ( isa=> HundredInt, is=>'rw', default=> 1000000 );
75
-
has 'max_messages_per_hour'=> ( isa=> PosInt, is=>'rw', default=> 1000000 );
69
+
has 'max_message_size'=> ( isa=>$HundredInt, is=>'rw', default=> 1000000 );
70
+
has 'max_messages_per_hour'=> ( isa=>$PosInt, is=>'rw', default=> 1000000 );
76
71
77
72
# Initialize this hour's message count.
78
73
has 'messages_sent_today'=> (
79
-
isa=>'HashRef',
74
+
isa=> HashRef,
80
75
is=>'ro',
81
76
default=>sub {
82
77
{ (localtime)[7] => { (localtime)[2] => 0 } }
@@ -113,7 +108,7 @@ our $VERSION = '2.1.7';
113
108
=head1SYNOPSIS
114
109
115
110
Program design:
116
-
This is a Moose based Class.
111
+
This is a Moo based Class.
117
112
118
113
The idea behind the module is that someone creating a bot should not really have to know a whole lot about how the Jabber protocol works in order to use it. It also allows us to abstract away all the things that can get a bot maker into trouble. Essentially the object helps protect the coders from their own mistakes.
119
114
@@ -1258,7 +1253,4 @@ under the same terms as Perl itself.
0 commit comments