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{
Type: commandReplyMsg,
Text: `/help - this help\n` +
`/msg_rescan <id> - rescan one message\n` +
`/msg_rescan_all - rescan all messages\n` +
`/parse_rules - list parsing rules\n` +
`/parse_rule <id> - detail for one rule\n` +
`/timer <ETA> "msg" - schedule msg for client in ETA\n` +
`/g_stock - check guild's vault\n` +
`/msg_export - export message database\n` +
`/msg_load - import message database`,
Text: `/help - this help
/msg_rescan <id> - rescan one message
/msg_rescan_all - rescan all messages
/parse_rules - list parsing rules\n
/parse_rule <id> - detail for one rule
/timer <ETA> "msg" - schedule msg for client in ETA
/g_stock - check guild's vault
/msg_export - export message database
/msg_load - import message database from quoted file`,
FromMsgID64: int64(m.ID),
FromChatID64: m.Chat.ID,
}