A chat bot: jokes, roasts and member stats

The bot answers commands and mentions with jokes, keeps member stats and posts on a schedule by itself.

  • Jokes and roasts aware of chat history
  • Member stats and rankings
  • Scheduled posts with no manual work
  • Everything lives in one bot

How it works

Automating Microsoft Teams and Postgres takes no code: a ready-made scenario does the routine for you.

  1. Starts when: Webhook Telegram
  2. Then: Log message + statistics
  3. Check: Switch
  4. If yes: Chat history
  5. Then: Mention Analysis
  6. Check: If1
  7. If yes: AI response to mention
  8. Then: Reply to Mention
  9. Then: Save Bot Response
  10. If no: AI response to command
  11. Check: Response type
  12. If yes: Send info reply
  13. If no: Send AI response
  14. If no: Get user statistics
  15. Then: Generating an information response
  16. Then: Log command
  17. If no: Get top users
  18. Then: OpenRouter Commands
  19. Then: Init Database
  20. Then: Adding a schedule
  21. Starts when: Schedule
  22. Then: Get scheduled posts
  23. Check: If
  24. If yes: AI post generation
  25. Then: Submit scheduled post
  26. Then: Save Bot Response2

You can launch this Microsoft Teams + Postgres integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.