Implement feedback
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user