Skip Menu |

This queue is for tickets about the Bot-BasicBot CPAN distribution.

Report information
The Basics
Id: 107193
Status: new
Priority: 0/
Queue: Bot-BasicBot

People
Owner: Nobody in particular
Requestors: blackrider [...] openmailbox.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Missing feature: support for password protected channels (with patch)
Date: Sat, 19 Sep 2015 17:11:37 +0200
To: bug-Bot-BasicBot [...] rt.cpan.org
From: Rubén Llorente <blackrider [...] openmailbox.org>
The current BasicBot does not support accessing password protected channels. The patch included allows BasicBot to access password protected channels. Example of bot construction follows: #!/usr/bin/perl use strict; use warnings; use autodie; use Bot::BasicBot; # Define variables for bot operation. my $botnick = "Arelor"; my $server = "some-server.net; my $port = "6667"; my $channel = "#test"; my %channel_passwords = ( $channel => "Password1", ); $robot = Bot::BasicBot->new( server => "$server", port => "$port", channels => ["$channel"], channel_passwords => \%channel_passwords nick => "$botnick", ); ## Then the rest of the code. -- OpenPGP Key Fingerprint: BB5A C2A2 2CAD ACB7 D50D C081 1DB9 6FC4 5AB7 92FA OpenPGP Key ID: 5AB792FA

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #107193]
Date: Sat, 19 Sep 2015 17:18:49 +0200
To: Bugs in Bot-BasicBot via RT <bug-Bot-BasicBot [...] rt.cpan.org>
From: Rubén Llorente <blackrider [...] openmailbox.org>
Sorry, I have sent the full file instead of just the patch. Here is the patch included. -- OpenPGP Key Fingerprint: BB5A C2A2 2CAD ACB7 D50D C081 1DB9 6FC4 5AB7 92FA OpenPGP Key ID: 5AB792FA

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #107193]
Date: Sat, 19 Sep 2015 21:51:46 +0200
To: Bugs in Bot-BasicBot via RT <bug-Bot-BasicBot [...] rt.cpan.org>
From: Rubén Llorente <blackrider [...] openmailbox.org>
Sorry to bother you again. The first patch had a trivial bug. Fix attached. -- OpenPGP Key Fingerprint: BB5A C2A2 2CAD ACB7 D50D C081 1DB9 6FC4 5AB7 92FA OpenPGP Key ID: 5AB792FA

Message body is not shown because sender requested not to inline it.