Skip to content

Refactor auto clicker for improved structure and configurability#70

Merged
iamwatchdogs merged 1 commit intoGrow-with-Open-Source:mainfrom
Tithi234:patch-2
Mar 19, 2026
Merged

Refactor auto clicker for improved structure and configurability#70
iamwatchdogs merged 1 commit intoGrow-with-Open-Source:mainfrom
Tithi234:patch-2

Conversation

@Tithi234
Copy link
Copy Markdown
Contributor

Summary

This PR refactors the auto clicker script to improve structure,
remove global variables, and make the click delay configurable.

Changes Made

  • Wrapped logic inside run_auto_clicker() function
  • Removed global state
  • Added configurable delay parameter
  • Added graceful KeyboardInterrupt handling
  • Improved console output

Why This Change?

Improves maintainability, readability, and overall code quality
without changing functionality.

@github-actions
Copy link
Copy Markdown

👋 @Tithi234
Thank you for raising your pull request.
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.

Copy link
Copy Markdown
Contributor

@iamwatchdogs iamwatchdogs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed and Approved by @iamwatchdogs.

@iamwatchdogs iamwatchdogs merged commit 13110fe into Grow-with-Open-Source:main Mar 19, 2026
3 checks passed
@github-actions
Copy link
Copy Markdown

Thank you for contributing @Tithi234. Make sure to check your contribution on GitHub Pages.

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.

2 participants