| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | * | | | | | | (Space Cog): Use `fetch_from_nasa` in every command + make modification to ↵ | 2020-03-11 | -8/+11 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it to work correctly. | ||||
| | * | | | | | | (Space Cog): Create new helper function `create_nasa_embed` and apply this ↵ | 2020-03-11 | -23/+23 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to commands. | ||||
| | * | | | | | | (Space Cog): Added information about when date is not specified to `.space ↵ | 2020-03-11 | -1/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apod` command docstring | ||||
| | * | | | | | | (Space Cog): Added rovers aliases to `.space mars dates` command | 2020-03-11 | -1/+1 | ||
| | | | | | | | | |||||
| | * | | | | | | (Space Cog): Add `.space mars dates` information to `.space mars` command ↵ | 2020-03-11 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | docstring | ||||
| | * | | | | | | (Space Cog): Fix `DateConverter`'s docstring | 2020-03-11 | -2/+2 | ||
| | | | | | | | | |||||
| | * | | | | | | (Space Cog): Add `self.rovers` using to `.space mars` command check. | 2020-03-11 | -2/+7 | ||
| | | | | | | | | |||||
| | * | | | | | | (Space Cog): Removed unnecessary part of `.space mars` docstring due `.space ↵ | 2020-03-11 | -4/+0 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mars dates` adding | ||||
| | * | | | | | | (Space Cog): Added `.space mars dates` command to see what rovers is ↵ | 2020-03-11 | -2/+9 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | currently available and their date ranges. | ||||
| | * | | | | | | (Space Cog): Created task for `.mars` command rovers fetching one time in day | 2020-03-11 | -0/+15 | ||
| | | | | | | | | |||||
| | * | | | | | | (Space Cog): Add base URL parameter to helper function `fetch_from_nasa` | 2020-03-11 | -2/+3 | ||
| | | | | | | | | |||||
| | * | | | | | | (Space Cog): Removed unnecessary sentence from `.mars` command docstring | 2020-03-10 | -1/+1 | ||
| | |/ / / / / | |||||
| | * | | | | | (Space Cog): Added optional search term to `.space nasa` command, removed ↵ | 2020-03-07 | -6/+11 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | random page due no way to fetch how much pages is really there with specific search term. | ||||
| | * | | | | | (Space Cog): Added date parameter to `.space epic` command. | 2020-03-07 | -3/+19 | ||
| | | | | | | | |||||
| | * | | | | | (Space Cog): Added `invoke_without_command` parameter to `.space` command to ↵ | 2020-03-07 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | not call head command when trying to use subcommand. | ||||
| | * | | | | | (Space Cog): Improved `.space mars` command, added possibility for SOL date ↵ | 2020-03-07 | -13/+42 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | and way to change rover. Added custom converter for SOL and standard date. | ||||
| | * | | | | | (Space Cog): Renamed `.space earth` command to `.space epic` for upcoming ↵ | 2020-03-07 | -3/+3 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | new command. | ||||
| | * | | | | | (Space Cog): Created head command `.space` and added all other commands under it | 2020-03-07 | -5/+10 | ||
| | | | | | | | |||||
| | * | | | | | (Space Cog): Fixes with random module. Removed manual random list item ↵ | 2020-03-02 | -5/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | getting with random.choice | ||||
| | * | | | | | (Space Cog): .apod Command Fixes: Renamed default parameters constant, ↵ | 2020-03-02 | -8/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | changed embed title, removed HD parameter + changed img from hdurl to url. | ||||
| | * | | | | | (Space Cog): Renamed + fixed base URLs constants | 2020-03-02 | -8/+7 | ||
| | | | | | | | |||||
| | * | | | | | (Space Cog): Modified base URLs (removed slash at end, added to queries), ↵ | 2020-02-29 | -11/+14 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | modified .mars command result check, some very small fixes. | ||||
| | * | | | | | (Space Cog): Added .mars command, removed get_random_nasa_command (no need ↵ | 2020-02-29 | -11/+35 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | for it) and moved all what this do to .nasa command. | ||||
| | * | | | | | (Space Cog): Added .earth command, created new base URL: NASA Epic API base URL | 2020-02-29 | -0/+23 | ||
| | | | | | | | |||||
| | * | | | | | (Space Cog): Added .nasa command that show information and facts about NASA ↵ | 2020-02-29 | -0/+24 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | and/or space | ||||
| | * | | | | | (Space Cog): Created get_random_nasa_item function what will be used in ↵ | 2020-02-29 | -0/+11 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | (upcoming) .nasa command. | ||||
| | * | | | | | (Space Cog): Created .apod command that support date parameter. | 2020-02-29 | -2/+27 | ||
| | | | | | | | |||||
| | * | | | | | (Space Cog): Added fetch_from_nasa function to space.py, what do request to ↵ | 2020-02-29 | -0/+8 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | NASA API and support arguments endpoint and params. | ||||
| | * | | | | | (Space Cog): Added NASA API base URL and .apod command HTTP request default ↵ | 2020-02-29 | -0/+10 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | parameters | ||||
| | * | | | | | (Space Cog): Added NASA API key check on load, added logger | 2020-02-29 | -0/+10 | ||
| | | | | | | | |||||
| | * | | | | | Added NASA API Key to constants.py | 2020-02-29 | -0/+1 | ||
| | | | | | | | |||||
| | * | | | | | Added Space Cog | 2020-02-29 | -0/+16 | ||
| | | | | | | | |||||
| | | | | * | | (Games Cog): Updated task repeating cooldown time. | 2020-03-31 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | Changed `hours` argument in `refresh_genres_task` from `1.0` to `24.0` due no need for so fast updating. | ||||
| | | | | * | | (Games Cog): Removed unnecessary check on possibilities showing. | 2020-03-31 | -1/+1 | ||
| | | | | | | | |||||
| | | | | * | | (Games Cog): Added ratio filtering to `get_best_results`, simplified ↵ | 2020-03-31 | -15/+14 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | matching in `.games` command. | ||||
| | | | | * | | (Games Cog): Added check is there more than 1 possibility of genre matching ↵ | 2020-03-31 | -0/+3 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | that have higher than 0.60 ratio. | ||||
| | | | | * | | (Games Cog): Fixed matching not found message | 2020-03-24 | -1/+3 | ||
| | | | | | | | |||||
| | | | | * | | (Games Cog): Removed unnecessary parameter from matching helper function. | 2020-03-23 | -2/+2 | ||
| | | | | | | | |||||
| | | | | * | | (Games Cog): Added wrong genre matching to `.games <genre>` command. | 2020-03-23 | -3/+15 | ||
| | | | | | | | |||||
| | | | | * | | (Games Cog): Created new helper function `get_best_results` to match not ↵ | 2020-03-23 | -0/+13 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | correct genres. | ||||
| | | | | | * | Docstring: remove dots from list entries | 2020-04-01 | -8/+8 | ||
| | | | | | | | |||||
| | | | | | * | Deseasonify: remove redundant log level setter | 2020-04-01 | -1/+0 | ||
| | | | | | | | |||||
| | | | | | * | Deseasonify: implement __str__ for Month enum | 2020-04-01 | -15/+21 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way, we can standardize the way Months are shown to both the user and the developer. Note that if passing a Month member to an f-string, the `!s` format code must be specified to ensure our __str__ is used. Co-authored-by: MarkKoz <[email protected]> | ||||
| | | | | | * | Deseasonify: yield ints representing days since cycle | 2020-03-31 | -15/+14 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the `should_cycle` iterator would signal that it is time to cycle by yielding True. As per Mark's suggestion, this is adjusted to yield either None, or ints representing days since last cycle. This is more transparent, as the daemon can now perform the comparison against the configured cycle frequency itself, rather than relying on being fed the correct value from a "black box". See `_reset_should_cycle` docstring for further clarification. Co-authored-by: MarkKoz <[email protected]> | ||||
| | | | | | * | Deseasonify: validate season setup | 2020-03-31 | -3/+22 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a static check confirming that no seasons overlap. This avoids having to deal with ambiguities in `get_current_season` at runtime, as we can now rely on `len(active_seasons)` always being 0 or 1. Co-authored-by: MarkKoz <[email protected]> | ||||
| | | | | | * | Deseasonify: adjust 'Merrybot' to 'MerryBot' | 2020-03-31 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the sake of consistency - all other seasonal bot names have the B capitalized. Co-authored-by: MarkKoz <[email protected]> | ||||
| | | | | | * | Deseasonify: set target branch to master | 2020-03-31 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the 'seasonal-structure' branch being merged in the branding repository, we can start polling master. | ||||
| | | | | | * | Deseasonify: title-case month names in frontend | 2020-03-31 | -2/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After 00af207de3087a41270f216ad86e06ba7dbf9d42, we should ensure that the month names aren't shown to the user in all caps. Co-authored-by: MarkKoz <[email protected]> | ||||
| | | | | | * | Deseasonify: turn helpers into regular functions | 2020-03-31 | -5/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is not necessary for these to be coroutines. Co-authored-by: MarkKoz <[email protected]> | ||||
| | | | | | * | Deseasonify: `pop` from remaining icons rather than unpack | 2020-03-31 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should be more readable. Co-authored-by: MarkKoz <[email protected]> | ||||