Skip to content

feat(admin): add 7 new admin plugins#95

Merged
wrxck merged 3 commits intodevelopfrom
feat/admin-plugins
Feb 13, 2026
Merged

feat(admin): add 7 new admin plugins#95
wrxck merged 3 commits intodevelopfrom
feat/admin-plugins

Conversation

@wrxck
Copy link
Owner

@wrxck wrxck commented Feb 13, 2026

Summary

  • unpinall: Unpin all messages via api.unpin_all_chat_messages
  • chatinfo: /settitle and /setdescription for chat metadata
  • customtitle: Set admin custom titles (16 char limit)
  • slowmode: Control slow mode delay (off/10s/30s/1m/5m/15m/1h)
  • topic: Forum topic management (create/close/reopen/delete/rename)
  • joinrequest: Configurable join request policy (auto-approve/auto-reject/manual with approve/reject inline buttons); hooks into on_chat_join_request
  • chatpermissions: Inline keyboard UI to toggle default chat permissions

Depends on #94 (router expansion) for on_chat_join_request hook.

Test plan

  • Test /unpinall in a group with pinned messages
  • Test /settitle New Title and /setdescription New desc
  • Test /customtitle @admin Custom Title
  • Test /slowmode 30s and /slowmode off
  • Test /topic create Test in a forum-enabled group
  • Test /joinrequest auto-approve then have someone request to join
  • Test /permissions toggles in a group

🤖 Generated with Claude Code

Matt Hesketh added 3 commits February 13, 2026 00:28
- unpinall: unpin all messages via api.unpin_all_chat_messages
- chatinfo: /settitle and /setdescription for chat metadata
- customtitle: set admin custom titles (16 char limit)
- slowmode: control slow mode delay (off/10s/30s/1m/5m/15m/1h)
- topic: forum topic management (create/close/reopen/delete/rename)
- joinrequest: configurable join request policy (auto-approve,
  auto-reject, manual with approve/reject buttons); hooks into
  on_chat_join_request router event
- chatpermissions: inline keyboard UI to toggle default chat
  permissions with live updates via set_chat_permissions
# Conflicts:
#	src/core/router.lua
#	src/plugins/admin/init.lua
#	src/plugins/admin/slowmode.lua
#	src/plugins/admin/topic.lua
# Conflicts:
#	src/core/router.lua
@wrxck wrxck merged commit 2fbbcad 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