My Matrix chat bot, for Blender Chat module channels.
Go to file
Sybren A. Stüvel 6e1e5669df Log timestamps in local timezone instead of UTC
This may not be all of them, but it's a start. The timezone is included
in the log, so timestamps are non-ambiguous regardless of which zone is
used. Using local timezones makes it slightly easier to mentally parse
them though.
2024-11-23 00:08:51 +01:00
appinfo Build with Mage 2024-11-16 19:10:55 +01:00
cmd Two meeting notification bugfixes in one 2024-11-19 19:38:13 +01:00
magefiles Bump version to 1.0-beta1 2024-11-19 20:43:37 +01:00
mocks Change Go package & Git URL 2024-11-18 09:22:49 +01:00
tools Add periodic notifications before the start of a module meeting 2024-11-17 21:30:28 +01:00
.gitattributes Add .gitattributes file to deal with platform-specifc line ends 2024-11-16 12:18:42 +01:00
.gitignore Gitignore VSCode/dlv debug binaries 2024-11-22 23:49:50 +01:00
animmeetings.go Log timestamps in local timezone instead of UTC 2024-11-23 00:08:51 +01:00
call_and_response_cmd_cal_test.go !cal: Fix handling of the last week of December 2024-11-19 20:11:19 +01:00
call_and_response_cmd_cal.go !cal: show calendar of the next month when we're halfway this month 2024-11-19 22:00:20 +01:00
call_and_response_cmd_forget.go Add !forget command 2024-11-17 21:30:28 +01:00
call_and_response_cmd_help.go Add !forget command 2024-11-17 21:30:28 +01:00
call_and_response_cmd_meeting.go !meeting now shows time until the next meeting 2024-11-19 21:37:00 +01:00
call_and_response_cmd_notify.go Add periodic notifications before the start of a module meeting 2024-11-17 21:30:28 +01:00
call_and_response_cmd_version.go Change Go package & Git URL 2024-11-18 09:22:49 +01:00
call_and_response.go Fix #2: ical calendar: take 'cancelled' status into account 2024-11-19 20:06:22 +01:00
config.go Rename executable from blender-chat-bot to matrixbot 2024-11-18 09:31:00 +01:00
context.go Separate bot state from bot config 2024-11-16 15:32:15 +01:00
eventlistener.go When starting the bot for the first time, ignore old messages 2024-11-22 23:49:19 +01:00
go.mod Change Go package & Git URL 2024-11-18 09:22:49 +01:00
go.sum Add periodic notifications before the start of a module meeting 2024-11-17 21:30:28 +01:00
LICENSE Initial checkin of my Matrix chatbot 2024-11-15 15:16:34 +01:00
mage.go Add missing license identifiers 2024-11-17 19:31:52 +01:00
Makefile Rename executable from blender-chat-bot to matrixbot 2024-11-18 09:31:00 +01:00
markdown.go Add missing license identifiers 2024-11-17 19:31:52 +01:00
matrixbot.toml.example Rename executable from blender-chat-bot to matrixbot 2024-11-18 09:31:00 +01:00
matrixclient.go Separate bot state from bot config 2024-11-16 15:32:15 +01:00
matrixmessages.go Add missing license identifiers 2024-11-17 19:31:52 +01:00
periodic_test.go !meeting now shows time until the next meeting 2024-11-19 21:37:00 +01:00
periodic.go Log timestamps in local timezone instead of UTC 2024-11-23 00:08:51 +01:00
README.md Rename executable from blender-chat-bot to matrixbot 2024-11-18 09:31:00 +01:00
timezonemap_test.go Summarize timezones in meeting notifications 2024-11-17 23:35:01 +01:00
timezonemap.go Summarize timezones in meeting notifications 2024-11-17 23:35:01 +01:00

Dr. Sybren's Blender Chat Bot

This is my little chat bot project. It's made for Blender Chat, but should work on any Matrix server.

Currently the bot just connects to a Matrix server, joins a room, sends a message, then quits.

Configuration

Copy matrixbot.toml.example to matrixbot.toml and adjust its contents.

Building

Install Go, then run:

$ go build ./cmd/matrixbot

Running

Either of these will work:

$ go build ./cmd/matrixbot
$ ./matrixbot
$ go run ./cmd/matrixbot

Development

Run these commands to correctly configure your Git clone:

$ git config core.eol native
$ git config core.autocrlf true