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.
- Invite
@hashtag:t2bot.io
to a room - Send a message like
#sillybots
Note: You'll need to have access to an account that the bot can use to get the access token.
- Clone this repository
npm install
npm run build
- Copy
config/default.yaml
toconfig/production.yaml
- Run the bot with
NODE_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