aboutsummaryrefslogtreecommitdiffstats
path: root/bot (follow)
Commit message (Collapse)AuthorAgeLines
* Merge branch 'master' into prefix-rich-presenceGravatar Dennis Pham2020-05-18-0/+6
|\
| * Set ayncio event loop to Selector on windows.Gravatar Numerlor2020-05-17-0/+6
| | | | | | | | | | | | | | Python 3.8 set the default asyncio event loop on windows to Proactor, which is not supported in aiodns. Co-authored-by: MarkKoz <[email protected]>
* | Show bot prefix in rich presenceGravatar kwzrd2020-05-08-1/+4
|/ | | | This emulates the main bot's message for consistency.
* Fix import orderGravatar Numerlor2020-04-19-1/+1
|
* Allow issue command in #dev-contribGravatar Numerlor2020-04-19-2/+2
|
* Add #dev-contrib to channel constantsGravatar Numerlor2020-04-19-0/+1
|
* Merge branch 'master' into wait-until-guild-readyGravatar Mark2020-04-16-3/+29
|\
| * (Error Handler): Added `UserNotPlayingError` catching to error handler.Gravatar ks1292020-04-08-1/+5
| |
| * (Minesweeper): Moved `UserNotPlayingError` to `bot.utils.exceptions`, ↵Gravatar ks1292020-04-08-14/+7
| | | | | | | | removed definition in extensions. Removed custom error handler.
| * (Minesweeper): Added raising `UserNotPlayingError`, attached flag command to ↵Gravatar ks1292020-04-08-0/+7
| | | | | | | | error handler.
| * (Minesweeper): Renamed user not playing error handler, changed `error` type ↵Gravatar ks1292020-04-08-2/+2
| | | | | | | | hint from `typing.Any` to `Exception`, changed handling `KeyError` to handling `UserNotPlayingError`.
| * (Minesweeper): Created new exception `UserNotPlayingError`.Gravatar ks1292020-04-08-0/+6
| |
| * (Minesweeper): Reverted KeyError catching in reveal command, made error ↵Gravatar ks1292020-04-07-5/+8
| | | | | | | | handler that catch it instead and attached reveal and end command to it.
| * (Space): Moved APOD command min date to constant, made changes in error ↵Gravatar ks1292020-04-07-3/+5
| | | | | | | | message when date is going out of range.
| * (Space): Fixed formatting of try-except block.Gravatar ks1292020-04-06-5/+7
| |
| * (Space): Added check is date in range 16th June 1995 and today.Gravatar ks1292020-04-06-1/+6
| |
| * (Minesweeper): Added try-except block to reveal command.Gravatar ks1292020-04-06-1/+5
| |
* | Transition towards `wait_until_guild_available` useGravatar kwzrd2020-04-04-11/+14
| | | | | | | | | | | | All calls to `wait_until_ready` are replaced with the new event. To help with static analysis, we annotate `bot` attrs as instances of our custom SeasonalBot class where necessary.
* | Add `wait_until_guild_available` coroutineGravatar kwzrd2020-04-04-0/+34
|/ | | | | | | | | | | See docstring for explanation & comparison to the `on_ready` event. This is taken from the Python bot repository. Originally implemented by Mark. The `on_guild_available` callback was adapted and simplified from the original implementation, as with Sentry in place, it is believed that dispatching an error webhook is unnecessary. Co-authored-by: MarkKoz <[email protected]>
* Try to fetch devlog channel if not found in cacheGravatar kwzrd2020-04-04-2/+6
|
* Remove redundant task assignmentGravatar kwzrd2020-04-03-1/+1
|
* Send greeting message to devlog channel on bot start-upGravatar kwzrd2020-04-03-0/+1
| | | | | Previously, this was done by the SeasonManager cog, which was removed during our deseasonification efforts.
* Ensure cache is ready before grabbing devlog channelGravatar kwzrd2020-04-03-0/+1
|
* Merge master: adjust `Space` cog locationGravatar kwzrd2020-04-01-4/+274
|\ | | | | | | Module was placed in the `seasons` pkg, which we renamed to `exts`.
| * Merge branch 'master' into game-fuzzyGravatar Karlis S2020-03-31-1/+275
| |\
| | * Merge branch 'master' into space-cogGravatar Shirayuki Nekomata2020-03-31-1/+478
| | |\
| | * | (Space Cog): Removed `async` from `create_nasa_embed` function.Gravatar ks1232020-03-31-5/+5
| | | |
| | * | (Space Cog): Added `get_rovers` task canceling with `cog_unload` function.Gravatar ks1232020-03-31-0/+4
| | | |
| | * | Merge branch 'master' into space-cogGravatar S. Co12020-03-20-1/+555
| | |\ \
| | * | | (Space Cog): Removed date requirement from `.space mars` command. Now can ↵Gravatar ks1232020-03-14-2/+7
| | | | | | | | | | | | | | | | | | | | command used in format `.space mars` and `.space mars <rover>` too.
| | * | | (Space Cog): Refactored url query parameters system, apply changes to ↵Gravatar ks1232020-03-14-15/+19
| | | | | | | | | | | | | | | | | | | | commands + add comments
| | * | | (Space Cog): Fixed function signatures and `ctx.send` `embed` value formatting.Gravatar ks1232020-03-14-26/+36
| | | | |
| | * | | Merge remote-tracking branch 'origin/space-cog' into space-cogGravatar ks1232020-03-11-119/+523
| | |\ \ \
| | | * \ \ Merge branch 'master' into space-cogGravatar Karlis S2020-03-07-119/+523
| | | |\ \ \
| | * | | | | (Space Cog): Clean commentsGravatar ks1232020-03-11-19/+0
| | | | | | |
| | * | | | | (Space Cog): Use `fetch_from_nasa` in every command + make modification to ↵Gravatar ks1232020-03-11-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | it to work correctly.
| | * | | | | (Space Cog): Create new helper function `create_nasa_embed` and apply this ↵Gravatar ks1232020-03-11-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | to commands.
| | * | | | | (Space Cog): Added information about when date is not specified to `.space ↵Gravatar ks1232020-03-11-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | apod` command docstring
| | * | | | | (Space Cog): Added rovers aliases to `.space mars dates` commandGravatar ks1232020-03-11-1/+1
| | | | | | |
| | * | | | | (Space Cog): Add `.space mars dates` information to `.space mars` command ↵Gravatar ks1232020-03-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | docstring
| | * | | | | (Space Cog): Fix `DateConverter`'s docstringGravatar ks1232020-03-11-2/+2
| | | | | | |
| | * | | | | (Space Cog): Add `self.rovers` using to `.space mars` command check.Gravatar ks1232020-03-11-2/+7
| | | | | | |
| | * | | | | (Space Cog): Removed unnecessary part of `.space mars` docstring due `.space ↵Gravatar ks1232020-03-11-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mars dates` adding
| | * | | | | (Space Cog): Added `.space mars dates` command to see what rovers is ↵Gravatar ks1232020-03-11-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | currently available and their date ranges.
| | * | | | | (Space Cog): Created task for `.mars` command rovers fetching one time in dayGravatar ks1232020-03-11-0/+15
| | | | | | |
| | * | | | | (Space Cog): Add base URL parameter to helper function `fetch_from_nasa`Gravatar ks1232020-03-11-2/+3
| | | | | | |
| | * | | | | (Space Cog): Removed unnecessary sentence from `.mars` command docstringGravatar ks1232020-03-10-1/+1
| | |/ / / /
| | * | | | (Space Cog): Added optional search term to `.space nasa` command, removed ↵Gravatar ks1232020-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.Gravatar ks1232020-03-07-3/+19
| | | | | |
| | * | | | (Space Cog): Added `invoke_without_command` parameter to `.space` command to ↵Gravatar ks1232020-03-07-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | not call head command when trying to use subcommand.