29 lines
707 B
Go
29 lines
707 B
Go
package reminder
|
|
|
|
// import (
|
|
// "git.lxtend.com/lixiangwuxian/qqbot/constants"
|
|
// "git.lxtend.com/lixiangwuxian/qqbot/handler"
|
|
// "git.lxtend.com/lixiangwuxian/qqbot/model"
|
|
// )
|
|
|
|
// func init() {
|
|
// handler.RegisterAtHandler("启用提醒", enableReminder, constants.LEVEL_USER)
|
|
// handler.RegisterAtHandler("禁用提醒", disableReminder, constants.LEVEL_USER)
|
|
// }
|
|
|
|
// func enableReminder(msg model.Message) (reply *model.Reply) {
|
|
// reply = &model.Reply{
|
|
// Message: msg,
|
|
// Text: "提醒已启用",
|
|
// }
|
|
// return
|
|
// }
|
|
|
|
// func disableReminder(msg model.Message) (reply *model.Reply) {
|
|
// reply = &model.Reply{
|
|
// Message: msg,
|
|
// Text: "提醒已禁用",
|
|
// }
|
|
// return
|
|
// }
|