@ -12,6 +12,8 @@ It requires the following perl modules
* URI::Escape
* JSON
* Term::ReadKey
* Hash::Merge::Simple
* Scalar::Util
Here're the vailable options:
@ -29,6 +31,10 @@ Here're the vailable options:
* --topic: set the topic of a room. Valid for create-room and modify-room
* --alias: set an alias for a room. Valid for create-room and modify-room
* --join_rules: change joining rules. Can be either public (anyone can join the room) or invite (you must be invited to join the room)
* --perm: set power levels on the room. Can be specified several times. See examples
* --perm_user: set user levels on the room. Can be specified several times. See examples
* --perm_event: set power levels requires to send specific state events. Can be specified several times. See examples
* --perm_reset: the default behavior of the various --perm args is to add or override specific permissions without changing the others already existing permission. If this flag is set, the previous permissions will be removed, and the one specified with the --perm arg will be applied. The only exception is for user power levels which are at least as high as the operator (including the operator). These user power levels will be kept even is --perm-reset is set
* --federation: Enable the federation when creating a room. Default is enabled. Can be turned of with --no-federation
* --action: what to do. Valid actions are
* send-msg (default): send the text message
@ -53,18 +59,35 @@ Options given on the command line take precedence over the config file
Examples:
* Send the content of /var/log/boot.log to a room (as text)