This repository has been archived on 2020-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
|
package bot
|
|
|
|
import "dev.sum7.eu/genofire/yaja/xmpp"
|
|
|
|
func (bot *Bot) Answer(msg *xmpp.MessageClient, body string) {
|
|
bot.client.Send(&xmpp.MessageClient{
|
|
To: msg.From,
|
|
Type: msg.Type,
|
|
Body: body,
|
|
})
|
|
}
|