Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying the spin direction #519

Merged
merged 1 commit into from
Nov 22, 2024
Merged

Conversation

hanzi
Copy link
Collaborator

@hanzi hanzi commented Nov 22, 2024

Description

This adds a parameter to the spin() utility function that controls whether we're spinning clockwise (default and the way it previously worked) or counter-clockwise.

This is not used by the bot as is, but can be used by plugins -- planning to use this as a very low-key easter egg in the Stream plugin.

Checklist

  • Black Linter has been ran, using --line-length 120 argument
  • Wiki has been updated (if relevant)

This adds a parameter to the `spin()` utility function that controls whether we're spinning clockwise (default and the way it previously worked) or counter-clockwise.

This is not used by the bot as is, but can be used by plugins -- planning to use this as a very low-key easter egg in the Stream plugin.
@pekempy
Copy link
Collaborator

pekempy commented Nov 22, 2024

Spin mode randomly choosing a direction after every encounter, when?

@hanzi
Copy link
Collaborator Author

hanzi commented Nov 22, 2024

@pekempy Want to keep that as an easter egg for the stream first, perhaps after a while then 🙃

@hanzi hanzi merged commit 72f9228 into 40Cakes:main Nov 22, 2024
1 check passed
@hanzi hanzi deleted the spin-direction branch November 22, 2024 18:13
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