mirror-nourybot/pkg/commands/pingme.go

14 lines
199 B
Go
Raw Normal View History

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