=begin pod

=NAME    Matrix::Bot::Plugin::AutoAcceptInvites
=AUTHOR  Patrick Spek <p.spek@tyil.work>
=VERSION 0.0.0

=head1 Description

A plugin for Matrix::Bot to automatically accept all room invites

=head1 Installation

Install this module through L<zef|https://github.com/ugexe/zef>:

=begin code :lang<sh>
zef install Matrix::Bot::Plugin::AutoAcceptInvites
=end code

=head1 Usage

To use this plugin in your Matrix bot, include it in the C<plugins> list.

=begin code
use Matrix::Bot;
use Matrix::Bot::Plugin::AutoAcceptInvites;

Matrix::Bot.new(
	home-server => $*ENV<MATRIX_HOMESERVER> // "https://matrix.org",
	username => %*ENV<USER>,
	password => %*ENV<MATRIX_PASSWORD>,
	plugins => [
		Matrix::Bot::Plugin::AutoAcceptInvites.new,
	],
);
=end code

=head1 License

This module is distributed under the terms of the AGPL-3.0.

=end pod
