wasabee-project / Wasabee-Server

The Server-Side component for the Wasabee Project tools for Enlightened Agents.
MIT License
11 stars 5 forks source link

Telegram work #14

Open cloudkucooland opened 4 years ago

cloudkucooland commented 4 years ago

Improve bot integration in chats: new table: tgchat (chatID (primary key), teamID (can be null, fk to team), opID (can be null, fk to op), zone)

require EITHER teamID or opID (zone optional)

/assignments show all assignments for team (each op, as now) or specified op

/unassigned show unassigned markers

/completed show completed markers

/link teamID - OR - opID

/help -- show help

can we do buttons in chats?


Improve direct communication with bot (pm, not chats)

add button for "my assignments" that pulls up a list of ops as butttons. Click the button for the ops and it shows assignments in that op with ability to ack/reject/complete assignments.

cloudkucooland commented 4 years ago

in group chat linked to team

/addagent @tgname adds agent to team and chat if necessary -- watch the chat, if agent is removed from chat, remove from team

cloudkucooland commented 2 years ago

schema changes done. bot side underway