- Query: Transaction.where('extract(month from created_at) = ?', 10) for getting all transactions in a month
- Spendings query command
food - add expense to food shopping - add expense to shopping transport - add expense to transport misc - add expense to misc save - specify amount & description to save spendings - total spendings for the current month cancel - cancel current command id - get telegram id
- Initiators (Categories)
- /food, /shopping, /misc, transport
- /save [amount] [description]
- command state reverts back to /done after this step
- Parse incoming command
- If valid, check current command step
- Respond according to current command step and incoming command