mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 15:54:03 +00:00
feat: add chat topic binding for casual conversation
Add ability to bind a dedicated chat topic where normal conversation happens, separate from functional topics (purchases, payments, etc.) - Add 'chat' to HOUSEHOLD_TOPIC_ROLES - Add /bind_chat_topic command for admins - Update i18n strings for en/ru - Add command to admin scope in telegram-commands
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
import type { CurrencyCode, SupportedLocale } from '@household/domain'
|
||||
import type { ReminderTarget } from './reminders'
|
||||
|
||||
export const HOUSEHOLD_TOPIC_ROLES = ['purchase', 'feedback', 'reminders', 'payments'] as const
|
||||
export const HOUSEHOLD_TOPIC_ROLES = [
|
||||
'chat',
|
||||
'purchase',
|
||||
'feedback',
|
||||
'reminders',
|
||||
'payments'
|
||||
] as const
|
||||
export const HOUSEHOLD_MEMBER_LIFECYCLE_STATUSES = ['active', 'away', 'left'] as const
|
||||
export const HOUSEHOLD_MEMBER_ABSENCE_POLICIES = [
|
||||
'resident',
|
||||
|
||||
Reference in New Issue
Block a user