Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

turt2live/matrix-hyper-bot

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

matrix-hyper-bot

TravisCI badge

A silly matrix bot that prefixes messages with "hyper" if the message is a single noun

Questions? Ask away in #hyperbot:t2bot.io

This is silly bot that serves no practical purpose. It may be used as a demonstration for how the matrix-bot-sdk could be used, but should not be taken seriously.

Usage

  1. Invite @hyperbot:t2bot.io to your room
  2. Send a message that is a noun, such as matrix

Building your own

Note: You'll need to have an access token for an account the bot may use.

  1. Clone this repository
  2. npm install
  3. npm run build
  4. Copy config/default.yaml to config/production.yaml and edit accordingly
  5. Run the bot with NODE_ENV=prodiction node lib/index.js

Docker

# Create the directory structure for the bot's volume
mkdir -p /matrix-hyper-bot/config
mkdir -p /matrix-hyper-bot/logs
mkdir -p /matrix-hyper-bot/storage

# Create the configuration file. Use the default configuration as a template.
# Logs will automatically be enabled, and the dataPath will be ignored.
nano /matrix-hyper-bot/config/production.yaml

# Run the container
docker run -v /matrix-hyper-bot:/data turt2live/matrix-hyper-bot

About

A silly matrix bot that prefixes messages with "hyper" if the message is a single noun

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published