12 lines
211 B
Go
12 lines
211 B
Go
|
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,
|
||
|
})
|
||
|
}
|