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

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

say $c.rooms(:sync);