Skip to content

Commit c73cd33

Browse files
committed
Emergency line is on a different channel
Issue #224
1 parent 91137b4 commit c73cd33

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lib/Whateverable.pm6

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ constant BUILDS-LOCATION = ‘/tmp/whateverable/’.IO.absolute;
4444
constant MESSAGE-LIMIT is export = 260;
4545
constant COMMITS-LIMIT = 500;
4646
my $GIST-LIMIT = 10_000;
47-
constant PARENTS = AlexDaniel, MasterDuke;
47+
constant $CAVE = #whateverable;
48+
constant $PARENTS = AlexDaniel, MasterDuke;
4849

4950
our $RAKUDO-REPO = https://github.com/rakudo/rakudo;
5051

@@ -87,9 +88,9 @@ method handle-exception($exception, $msg?) {
8788

8889
say $exception;
8990
with $msg {
90-
if .channel ne #whateverable {
91-
.irc.send-cmd: PRIVMSG, .channel, I'm acting stupid on {.channel}. Help me.,
92-
:server(.server), :prefix(PARENTS.join(, ) ~ : )
91+
if .channel ne $CAVE {
92+
.irc.send-cmd: PRIVMSG, $CAVE, I'm acting stupid on {.channel}. Help me.,
93+
:server(.server), :prefix($PARENTS.join(, ) ~ : )
9394
}
9495
}
9596

@@ -488,7 +489,7 @@ method selfrun($nick is copy, @alias?) {
488489
?? #whateverable
489490
!! %*ENV<TESTABLE>
490491
?? #whateverable_$nick
491-
!! <#perl6 #perl6-dev #whateverable #zofbot #moarvm>)
492+
!! (|<#perl6 #perl6-dev #zofbot #moarvm>, $CAVE) )
492493
:debug(?%*ENV<DEBUGGABLE>)
493494
:plugins(self)
494495
:filters( -> |c { self.filter(|c) } )

0 commit comments

Comments
 (0)