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

Timer format #142

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

EstatoDeviato
Copy link
Contributor

No description provided.

Copy link
Owner

@Crystalwarrior Crystalwarrior left a comment

Choose a reason for hiding this comment

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

Looks good, only 1 change requested to the /format_timer command before merge

current_time = int(timer.static.total_seconds()) * 1000
for area in areas:
for c in area.clients:
c.send_command("TF", args[0], args[1], current_time)
Copy link
Owner

Choose a reason for hiding this comment

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

Maybe re-use send_timer_set_time instead?

@Crystalwarrior
Copy link
Owner

Oh yeah-- can you also add a documentation/commands.md entry and any aliases to the config_sample?

@EstatoDeviato
Copy link
Contributor Author

Okay I've added stuff to command aliases and to documentation

EstatoDeviato and others added 4 commits June 12, 2024 11:16
timer = self.area.area_manager.timer
else:
timer = self.area.timers[timer_id-1]
self.send_command("TF", timer_id, timer.format, new_time)
Copy link
Owner

Choose a reason for hiding this comment

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

does DRO support timer formatting or is this just a KFO-Client feature we came up with? I'll double-check.

Copy link
Owner

@Crystalwarrior Crystalwarrior left a comment

Choose a reason for hiding this comment

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

Cool and Good, just testing left

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