Libera-Chat / sable

GNU Affero General Public License v3.0
78 stars 8 forks source link

Implement MOTD command #52

Closed A-UNDERSCORE-D closed 1 year ago

A-UNDERSCORE-D commented 1 year ago

Adds support for /MOTD. This uses the config processing system added by @spb in 8d37fdaf2dc7efe033e031cfda8a0fa96182e821

The reading of the config is done once at startup, rehashes are not included in this PR. The infos config allows for infos to be omitted entirely, resulting in None. If an infos entry is included in the config, but not a valid path on disk, sable will fail to start with a reasonable error