You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
375 B

package main
import (
"github.com/kf5grd/keybasebot"
"samhofi.us/x/keybase/v2/types/chat1"
)
var pingAd = chat1.UserBotCommandInput{
Name: "ping",
Usage: "Replies with Pong!",
Description: "You say ping, i say pong!",
}
func sendPong(m chat1.MsgSummary, b *keybasebot.Bot) (bool, error) {
b.KB.SendMessageByConvID(m.ConvID, "Pong!")
return true, nil
}