This commit is contained in:
shoopea 2019-06-09 16:49:32 +08:00
parent 27be28618a
commit 1cae638163

18
bot.go
View File

@ -91,15 +91,15 @@ func botHelp(m *tb.Message) {
} }
c := TGCommand{ c := TGCommand{
Type: commandReplyMsg, Type: commandReplyMsg,
Text: `/help - this help\n` + Text: `/help - this help
`/msg_rescan <id> - rescan one message\n` + /msg_rescan <id> - rescan one message
`/msg_rescan_all - rescan all messages\n` + /msg_rescan_all - rescan all messages
`/parse_rules - list parsing rules\n` + /parse_rules - list parsing rules\n
`/parse_rule <id> - detail for one rule\n` + /parse_rule <id> - detail for one rule
`/timer <ETA> "msg" - schedule msg for client in ETA\n` + /timer <ETA> "msg" - schedule msg for client in ETA
`/g_stock - check guild's vault\n` + /g_stock - check guild's vault
`/msg_export - export message database\n` + /msg_export - export message database
`/msg_load - import message database`, /msg_load - import message database from quoted file`,
FromMsgID64: int64(m.ID), FromMsgID64: int64(m.ID),
FromChatID64: m.Chat.ID, FromChatID64: m.Chat.ID,
} }