WIP
started the facelift of the repo, adding in bans and timeouts. That comes with some restructure. Also implementing a goroutine limit for command handlers and options around that, as well as moving the intents to options to allow stronger restrictions
This commit is contained in:
@@ -14,4 +14,4 @@ type Command struct {
|
||||
}
|
||||
|
||||
// command payload functions, any strings returned are sent as a response to the command
|
||||
type Payload func(msg Message) error
|
||||
type Payload func(msg *Message) error
|
||||
|
||||
Reference in New Issue
Block a user