Skip to content

Add paginated help pages with Prev/Next navigation and update README#1

Open
MNTGXO wants to merge 2 commits intomnbotsfrom
mnbots-update-help-command-with-pagination-and-features
Open

Add paginated help pages with Prev/Next navigation and update README#1
MNTGXO wants to merge 2 commits intomnbotsfrom
mnbots-update-help-command-with-pagination-and-features

Conversation

@MNTGXO
Copy link

@MNTGXO MNTGXO commented Mar 13, 2026

Motivation

  • Provide a complete, easy-to-browse in-bot help that lists all commands and features while keeping each help page concise (~10 lines).
  • Allow users to navigate the help content in PM via Previous/Next buttons instead of showing a single long message.

Description

  • Added HELP_PAGES to Script.py and reworked HELP_TXT to provide an intro plus six concise help pages grouped by feature/command areas.
  • Updated plugins/pm_filter.py help callback to render the first help page and added help_page_<n> handlers with circular Prev/Next navigation and a page indicator button.
  • Injected a new "Commands & Bot Features" section into README.md enumerating the full command list and feature highlights to match the in-bot help.
  • Changes touch the following files: Script.py, plugins/pm_filter.py, and README.md.

Testing

  • Ran Python syntax validation with python -m py_compile Script.py plugins/pm_filter.py, which completed without errors.
  • Verified the modified help rendering code paths by static inspection of plugins/pm_filter.py to ensure help and help_page_<n> callbacks format and button layouts reference script.HELP_PAGES correctly.

Codex Task

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant