mirror-nourybot/pkg/commands/pingme.go

15 lines
226 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-31 14:57:21 +01:00
// Pingme pings a user.
2021-10-24 17:52:24 +02:00
func Pingme(channel, user string, nb *bot.Bot) {
2021-11-02 19:48:44 +01:00
response := fmt.Sprintf("🔔 @%s 🔔", user)
2021-10-19 23:53:41 +02:00
nb.Send(channel, response)
}