Commit graph

65 commits

Author SHA1 Message Date
Gary Kramlich
d883befee5 Basic provisioning api
Includes: login, logout, and ping.
2022-02-22 02:51:22 -06:00
Gary Kramlich
680f7bdbea A ton of work getting towards dms.
This commit also points to my fork of discordgo which makes it look like the
official client which is the only way to get the actually contents of a dm
when not authorized as a bot.
2022-01-25 23:22:20 -06:00
Gary Kramlich
2279916d9c Implement the command parser
Right now this just supports help and version, but will be getting new commands
shortly.
2021-12-30 15:08:41 -06:00
Gary Kramlich
456a15ba56 Initial bot functionality
* The bot now properly joins the management room
* The management room is persisted in the database
* Welcome/help messages are sent in the management room
2021-12-30 09:33:06 -06:00
Gary Kramlich
78ab3d3804 Initial database setup including migrations 2021-12-09 05:37:41 -06:00
Gary Kramlich
be3982e585 Start of the bot and it's matrix connection 2021-12-07 19:08:58 -06:00
Gary Kramlich
8086ad1708 Add logging config and add some helper functions 2021-11-20 04:58:59 -06:00
Gary Kramlich
f97da27731 Add a force option to the generate-config command 2021-11-20 03:33:19 -06:00
Gary Kramlich
79713cf0ef Fix some defaults in the appservice config 2021-11-20 03:33:06 -06:00
Gary Kramlich
4e074afc64 Add a generate-config command 2021-11-20 03:27:46 -06:00
Gary Kramlich
6a87e389b6 Fix a bug where the config wasn't loaded properly 2021-11-19 17:09:02 -06:00
Gary Kramlich
2b63ddc6b8 Rename the config structs setDefaults to validate
This allows us to check for some required values and give an easy to respond
to error at startup rather than a lot of validation during run time.
2021-11-19 16:53:43 -06:00
Gary Kramlich
5a11f49dbe Make sure we always load our default config values 2021-11-19 16:31:19 -06:00
Gary Kramlich
09911a11e3 Add a generate-registration command 2021-11-18 02:44:21 -06:00
Gary Kramlich
5b3811ce96 Start of the config 2021-11-18 02:03:42 -06:00