Skip to content

Commit

Permalink
Updated to have less specific defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
MattOates committed Oct 1, 2012
1 parent 97e38c6 commit 81b151e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emobot
Expand Up @@ -8,10 +8,10 @@ class Emotive::UserScore {
has %user_scores; has %user_scores;
has $emotion = Text::Emotion::Scorer.new; has $emotion = Text::Emotion::Scorer.new;
has %ignore; #= ('') X=> 1; has %ignore; #= ('') X=> 1;
has %admin = <Ulti Ultima Ultali> X=> 1; has %admin = <Admin> X=> 1;


method log ($event) { method log ($event) {
my $log = open "/home/matt/emolog", :a or $event.msg("Couldn't open the log sorry!"); my $log = open "~/emolog", :a or $event.msg("Couldn't open the log sorry!");
if $log { if $log {
#Timestamp this log #Timestamp this log
$log.say(now); $log.say(now);
Expand Down

0 comments on commit 81b151e

Please sign in to comment.