Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Removed old pod parts

  • Loading branch information...
commit d35333a12fff7a38ea5eaa67dd6d9300a0334c37 1 parent a1ce92c
Tadeusz Sośnierz authored May 18, 2010

Showing 1 changed file with 0 additions and 54 deletions. Show diff stats Hide diff stats

  1. 54  a8bot.pm
54  a8bot.pm
@@ -149,57 +149,3 @@ sub run {
149 149
 __PACKAGE__->meta->make_immutable;
150 150
 
151 151
 1;
152  
-
153  
-__END__
154  
-
155  
-=pod
156  
-
157  
-=head2 Small guide to orders
158  
-
159  
-A plugin's callback function should return an array of orders for the bot to execute.
160  
-Order is a hash, with an obligatory key 'type', and some other, depending on a type.
161  
-Something like this:
162  
-
163  
-  return [
164  
-  	{ type => 'privmsg', arg1 => 'foo', arg2 => 'bar' },
165  
-	{ type => 'other', args => ['foo', 'bar', 'baz'] },
166  
-  ];
167  
-
168  
-Where type should be one of the following:
169  
-
170  
-=over 4
171  
-
172  
-=item privmsg
173  
-
174  
-Arguments for privmsg should be:
175  
-
176  
-=over 2
177  
-
178  
-=item to (string)
179  
-
180  
-User (or channel) to send a message to.
181  
-
182  
-=item msg (string)
183  
-
184  
-The message itself. Simple, huh?
185  
-
186  
-=back
187  
-
188  
-=item mode
189  
-
190  
-Arguments for mode
191  
-
192  
-=over 2
193  
-
194  
-=item args (array)
195  
-
196  
-Array of arguments for AnyEvent's MODE call.
197  
-B<Note>: this is likely to suck less in the near future.
198  
-
199  
-Example: { type => 'mode', args = ['username', '+b'] }
200  
-
201  
-=back
202  
-
203  
-=back
204  
-
205  
-=cut

0 notes on commit d35333a

Please sign in to comment.
Something went wrong with that request. Please try again.