X-Git-Url: https://ruin.nu/git/?p=NDIRC.git;a=blobdiff_plain;f=Context.pm;h=36290089a995a87d376b35eeda3ea6e520a46050;hp=39300254d1bf741e59122721a7bddc40e523a02a;hb=8211693b922ad772efc64463431f667d3baaceea;hpb=726b4c0ff9accf03aac73e14d6aee8742bc95c92 diff --git a/Context.pm b/Context.pm index 3930025..3629008 100644 --- a/Context.pm +++ b/Context.pm @@ -57,6 +57,12 @@ has model => ( required => 1 ); +has bot => ( + is => 'ro', + isa => 'Object', + required => 1 +); + sub assert_user_roles { my ($self,@roles) = @_; return 1 unless @roles;