add missing documentation
This commit is contained in:
parent
d467e2fa24
commit
796deed9a6
@ -140,6 +140,9 @@ func (cmd *Commands) Messagef(target, format string, a ...interface{}) error {
|
|||||||
return cmd.Message(target, fmt.Sprintf(format, a...))
|
return cmd.Message(target, fmt.Sprintf(format, a...))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ErrInvalidSource is returned when a method needs to know the origin of an
|
||||||
|
// event, however Event.Source is unknown (e.g. sent by the user, not the
|
||||||
|
// server.)
|
||||||
var ErrInvalidSource = errors.New("event has nil or invalid source address")
|
var ErrInvalidSource = errors.New("event has nil or invalid source address")
|
||||||
|
|
||||||
// Reply sends a reply to channel or user, based on where the supplied event
|
// Reply sends a reply to channel or user, based on where the supplied event
|
||||||
|
Loading…
Reference in New Issue
Block a user