feat: add bot commands for tournament management#216
Draft
Fruktus wants to merge 2 commits into
Draft
Conversation
e10b765 to
47e14db
Compare
Fruktus
commented
Dec 9, 2025
| tournament_id="Id of the tournament", | ||
| active_until="Date until which matches for first round are accepted, in the isoformat. Ex: 2021-07-27T16:02:08.070557") | ||
| async def start_tournament(interaction, tournament_name: str, active_until: str): | ||
| await self._start_tournament(interaction, tournament_name, active_until) |
Owner
Author
There was a problem hiding this comment.
@kjarosh
active_until in all of these formats is converted into isoformat, but:
- it does not enforce TZ (and I doubt anyone would remember it)
- as per our discussion, we likely want to provide only the day and (probably) randomize somewhere between 12:00 UTC +- 12h as the end time
With this in mind, I'd probably switch to strptime with format like YYYY-MM-DD
What do you think?
Owner
Author
There was a problem hiding this comment.
Summary: We'll go with AoE (Anywhere on Earth)
47e14db to
122ada5
Compare
Fruktus
commented
Dec 9, 2025
Fruktus
commented
Dec 9, 2025
122ada5 to
b289174
Compare
b289174 to
023d572
Compare
023d572 to
8944c2d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Provides very basic tournament management plane.
It includes:
a given tournament
It does not include: