### ----------------------------------------------------
### -- IRC::Client
### -- Licenses: Artistic-2.0
### -- Authors: Elizabeth Mattijsen, Zoffix Znet
### -- File: examples/06-multi-server.raku
### ----------------------------------------------------
use IRC::Client;

class BFF {
    method irc-to-me ($ where /'♥'/) { 'I ♥ YOU!' }
}

.run with IRC::Client.new:
    :debug
    :plugins(BFF)
    :nick<MahBot>
    :channels<#bottest>
    :servers(
        libera => %(
            :host<irc.libera.chat>,
        ),
        local => %(
            :nick<RakuBot>,
            :channels<#lizbot #raku>,
            :host<localhost>,
        )
    )


