Skip to content

Allow alias bc in broadcast mode#94

Open
TomMelt wants to merge 1 commit intomainfrom
bugfix-93-broadcast-alias
Open

Allow alias bc in broadcast mode#94
TomMelt wants to merge 1 commit intomainfrom
bugfix-93-broadcast-alias

Conversation

@TomMelt
Copy link
Owner

@TomMelt TomMelt commented Mar 2, 2026

fixes #93

This PR adds bc stop alias to end broadcast mode.

@TomMelt TomMelt self-assigned this Mar 2, 2026
@TomMelt TomMelt added bug Something isn't working enhancement New feature or request labels Mar 2, 2026
Copy link
Contributor

@joewallwork joewallwork left a comment

Choose a reason for hiding this comment

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

Great, thanks @TomMelt! I can confirm that this works. I have a suggested edit but not necessary.

return line

if line == "broadcast stop":
if line == "broadcast stop" or line == "bc stop":
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe this would be more Pythonic:

Suggested change
if line == "broadcast stop" or line == "bc stop":
if line in ("broadcast stop", "bc stop"):

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

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Aliases when in broadcast mode

2 participants