aboutsummaryrefslogtreecommitdiff
path: root/examples/rooms.p6
blob: 7f6223324cf1d378cc26f1c32257fb01508ecd03 (plain)
1
2
3
4
5
6
use Matrix::Client;

my $c = Matrix::Client.new: :home-server<https://matrix.deprecated.org>;
$c.login: @*ARGS[0], @*ARGS[1];

say $c.rooms;