Skip to content

feat(plugins): add poll, react, boosts, and bulk ops#96

Merged
wrxck merged 4 commits intodevelopfrom
feat/new-plugins
Feb 13, 2026
Merged

feat(plugins): add poll, react, boosts, and bulk ops#96
wrxck merged 4 commits intodevelopfrom
feat/new-plugins

Conversation

@wrxck
Copy link
Owner

@wrxck wrxck commented Feb 13, 2026

Summary

  • poll: Create polls and quizzes via /poll Question | Opt1 | Opt2 and /quiz Question | Correct | Wrong1 | Wrong2; uses native Telegram poll API
  • react: Reply to messages with /react <emoji> to set reactions; auto-deletes command message
  • boosts: /boosts [user] shows boost count; hooks on_chat_boost for notifications
  • bulkops: /forward <chat_id> and /copy <chat_id> to forward/copy replied messages

Depends on #94 (router expansion) for poll, reaction, and boost hooks.

Test plan

  • Test /poll Question? | Yes | No | Maybe
  • Test /quiz Capital of France? | Paris | London | Berlin
  • Test /react 👍 in reply to a message
  • Test /boosts and /boosts @username in a group
  • Test /forward <chat_id> in reply to a message
  • Test /copy <chat_id> in reply to a message

🤖 Generated with Claude Code

Matt Hesketh added 4 commits February 13, 2026 00:29
- poll: create polls and quizzes via /poll and /quiz with pipe-separated
  options; uses native Telegram poll API with quiz mode support
- react: reply to messages with /react <emoji> to set reactions via
  set_message_reaction API; auto-deletes command message
- boosts: view user boost count in chat, hooks on_chat_boost to send
  notification when chat receives a new boost
- bulkops: /forward and /copy commands to forward/copy replied messages
  to target chats using forward_messages/copy_messages API
# Conflicts:
#	src/core/router.lua
#	src/plugins/admin/init.lua
#	src/plugins/fun/init.lua
#	src/plugins/utility/init.lua
# Conflicts:
#	src/core/router.lua
# Conflicts:
#	src/plugins/admin/init.lua
@wrxck wrxck merged commit b508fdf into develop Feb 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant