12 lines
201 B
Go
12 lines
201 B
Go
|
package bot
|
||
|
|
||
|
import (
|
||
|
"dev.sum7.eu/genofire/yaja/xmpp"
|
||
|
)
|
||
|
|
||
|
type Handler interface {
|
||
|
Presence(*Bot, *xmpp.PresenceClient) bool
|
||
|
Message(*Bot, *xmpp.MessageClient) bool
|
||
|
IQ(*Bot, *xmpp.IQClient) bool
|
||
|
}
|