diff options
author | dakkar <dakkar@thenautilus.net> | 2021-06-04 18:19:53 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2021-06-04 18:19:53 +0100 |
commit | d9a6d133fb4a89799ee49d1fd2cf819fdd75c88d (patch) | |
tree | 021fc386c281564150738f5817d08030e438360d /boha.raku | |
parent | op tracking that actually works (diff) | |
download | raku-boha-d9a6d133fb4a89799ee49d1fd2cf819fdd75c88d.tar.gz raku-boha-d9a6d133fb4a89799ee49d1fd2cf819fdd75c88d.tar.bz2 raku-boha-d9a6d133fb4a89799ee49d1fd2cf819fdd75c88d.zip |
move stuff into modules
Diffstat (limited to 'boha.raku')
-rw-r--r-- | boha.raku | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,6 +1,8 @@ #!/usr/bin/env rakudo use v6.d; use Config::TOML; +use lib $?FILE.IO.sibling('lib').Str; +use Boha::TrackOps; use IRC::Client; my $config = from-toml( @@ -61,7 +63,7 @@ class TrackOps does IRC::Client::Plugin { } class Boha1 does IRC::Client::Plugin { - has TrackOps $.ops handles <is-op>; + has Boha::TrackOps $.ops handles <is-op>; # irc-addressed for in-channel messages # irc-privmsg-me for direct messages @@ -84,7 +86,7 @@ class Boha1 does IRC::Client::Plugin { } } -my TrackOps $ops .= new; +my Boha::TrackOps $ops .= new; my Boha1 $boha .= new(:$ops); .run with IRC::Client.new( |