Implement feedback

This commit is contained in:
Slavi Pantaleev
2022-08-27 08:11:21 +03:00
parent 1100ee6b5f
commit 275ccbd9e5
4 changed files with 46 additions and 38 deletions

View File

@@ -28,10 +28,7 @@ type Config struct {
MaxSize int
// StatusMsg of the bot
StatusMsg string
// Users holds regular expression patterns of users that are allowed to use the bridge.
// The regular expression patterns are compiled from wildcard patterns like:
// `@someone:example.com`, `@*:example.com`, `@bot.*:example.com`, `@someone:*`, `@someone:*.example.com`
// An empty list means that "everyone is allowed".
// Users holds list of allowed users (wildcards supported), e.g.: @*:example.com, @bot.*:example.com, @admin:*. Empty = *
Users []*regexp.Regexp
// DB config