Skip to content

About

Devzat plugin: DM a welcome guide to new joiners and provide a `remind` command

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

devzat-bot

A Devzat plugin (Go) with two quality-of-life features for a team server:

  • Welcome — DMs anyone who joins the chat a short guide (customizable).
  • Remind — remind <when> <message> pings you later, e.g. remind 2h review the deploy.

Build

go build -o devzat-bot .

Configure

Env Default Purpose
DEVZAT_ADDRESS — Plugin-API address, e.g. localhost:5556 (arg overrides)
DEVZAT_TOKEN — Plugin API token (required)
WELCOME_ENABLED true DM new joiners the guide
REMIND_ENABLED true Enable the remind command
WELCOME_FILE — Path to a file with custom welcome text ({{name}} is substituted)

Usage

remind 30m check the build
remind 2h review #292
remind 1d12h follow up with the vendor

welcome            DM yourself the welcome guide (re-read it any time)
welcome @teammate  DM the guide to someone else

Units: s, m, h, d (and combinations, e.g. 1d12h). The reminder is posted back in the room where you set it and mentions your name (so it bells you); if that room was since cleaned up, it falls back to #main.

Note: reminders are held in memory, so they don't survive a bot restart.

Install (systemd)

sudo DEVZAT_TOKEN=dvz@... ./install.sh

Uses its own plugin-API token (mint one per plugin with grant in chat — see devzat-deploy's README).

Operate

systemctl status devzat-bot
journalctl -u devzat-bot -f
systemctl restart devzat-bot

About

Devzat plugin: DM a welcome guide to new joiners and provide a `remind` command

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages