My Matrix chat bot, for Blender Chat module channels.
Sybren A. Stüvel
6e1e5669df
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. |
||
---|---|---|
appinfo | ||
cmd | ||
magefiles | ||
mocks | ||
tools | ||
.gitattributes | ||
.gitignore | ||
animmeetings.go | ||
call_and_response_cmd_cal_test.go | ||
call_and_response_cmd_cal.go | ||
call_and_response_cmd_forget.go | ||
call_and_response_cmd_help.go | ||
call_and_response_cmd_meeting.go | ||
call_and_response_cmd_notify.go | ||
call_and_response_cmd_version.go | ||
call_and_response.go | ||
config.go | ||
context.go | ||
eventlistener.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
mage.go | ||
Makefile | ||
markdown.go | ||
matrixbot.toml.example | ||
matrixclient.go | ||
matrixmessages.go | ||
periodic_test.go | ||
periodic.go | ||
README.md | ||
timezonemap_test.go | ||
timezonemap.go |
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