mirror-nourybot/pkg/commands/pingme.go

14 lines
192 B
Go
Raw Normal View History

2021-10-19 23:53:41 +02:00
package commands
import (
"fmt"
"github.com/lyx0/nourybot/cmd/bot"
)
2021-10-24 17:52:24 +02:00
func Pingme(channel, user string, nb *bot.Bot) {
2021-10-19 23:53:41 +02:00
response := fmt.Sprintf("@%s", user)
nb.Send(channel, response)
}