A matrix bot that creates groups when hashtags are mentioned
357
When a hashtag is mentioned, this bot creates a Matrix group.
Questions? Ask away in #hashtagbot:t2bot.io
This is a silly bot, and a absurd usage of the groups API. Using it for #serious #business is discouraged.
@hashtag:t2bot.io to a room#sillybotsNote: You'll need to have access to an account that the bot can use to get the access token.
npm installnpm run buildconfig/default.yaml to config/production.yamlNODE_ENV=production node lib/index.js# Create the directory structure
# This is all the information kept in the volume: config, logs, and cache
mkdir -p /matrix-hashtag-bot/config
mkdir -p /matrix-hashtag-bot/logs
mkdir -p /matrix-hashtag-bot/storage
# Create the configuration file. Use the default configration as a template.
# Be sure to change the log path to /data/logs
# Be sure to point the dataPath at /data/storage
nano /matrix-hashtag-bot/config/production.yaml
# Run the container
docker run -v /matrix-hashtag-bot:/data turt2live/matrix-hashtag-bot
Content type
Image
Digest
Size
59.8 MB
Last updated
over 7 years ago
docker pull turt2live/matrix-hashtag-bot