30 lines
608 B
Go
30 lines
608 B
Go
package menu
|
|
|
|
const (
|
|
startText = `<b>pllist</b>
|
|
Keep lists of planned purchases, share them, and reserve items.
|
|
|
|
Use the button below or /help.`
|
|
|
|
baseHelpText = `<b>Commands</b>
|
|
/lists - your lists
|
|
/new - create a list
|
|
/cancel - cancel pending input
|
|
/help - this message
|
|
|
|
Open a list to add items, reserve them, mark them done, and manage the list.`
|
|
|
|
ownerHelpText = `
|
|
|
|
<b>Bot owner</b>
|
|
/allow <username or id> - grant bot access
|
|
/kick <username or id> - revoke bot access`
|
|
)
|
|
|
|
func helpText(isOwner bool) string {
|
|
if isOwner {
|
|
return baseHelpText + ownerHelpText
|
|
}
|
|
return baseHelpText
|
|
}
|