Crate headjack

Source

Structs§

Bot
A Matrix Bot
BotConfig
The bot struct, holds all configuration needed for the bot
Login
Tags
The namespaced tags in a room.

Functions§

add_tag
Adds a single tag to the room.
get_command
Get the command, if it is a command.
get_tags
Get all tags in a room that start with a given namespace. Tags are supposed to be namespaced to the application in the form of tld.domain.tag.
is_command
Check if the message is a command.
remove_tag
Remove a namespaced tag from the room.
replace_tags
Set the tags for a room using a namespace. These tags will replace any existing tags in the same namespace.