diff options
author | Patrick Spek <p.spek@tyil.nl> | 2021-05-05 11:03:32 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2021-05-05 11:03:32 +0200 |
commit | b6da79a0bc1289f2a6064a6b3ffcd0c2333f2c97 (patch) | |
tree | 58280e312d4a88ddc6625d845ad657f75569d3af /lib/IRC/Client/Plugin.rakumod |
Initial commit
Diffstat (limited to 'lib/IRC/Client/Plugin.rakumod')
-rw-r--r-- | lib/IRC/Client/Plugin.rakumod | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/IRC/Client/Plugin.rakumod b/lib/IRC/Client/Plugin.rakumod new file mode 100644 index 0000000..7388416 --- /dev/null +++ b/lib/IRC/Client/Plugin.rakumod @@ -0,0 +1,28 @@ +#! /usr/bin/env false + +use v6.d; + +#| A base role for IRC::Client plugins. A plugin may handle any number of +#| methods, in order to act upon events encountered by the client. +unit role IRC::Client::Plugin; + +#| A reference to the IRC::Client the plugin is used by. +has $.irc is rw; + +=begin pod + +=NAME IRC::Client::Plugin +=AUTHOR Patrick Spek <~tyil/raku-devel@lists.sr.ht> +=VERSION 0.0.0 + +=head1 Synopsis + +=head1 Description + +=head1 Examples + +=head1 See also + +=end pod + +# vim: ft=perl6 noet |