aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/minesweeper.py (follow)
Commit message (Collapse)AuthorAgeLines
* Move game and fun commands to Fun folder, fix ddgGravatar Janine vN2021-09-05-270/+0
| | | | | | | | | | | This moves all the fun commands and games into the fun folder. This commit also makes changes to the duck_game. It was setting a footer during an embed init, which is no longer possible with the version of d.py we use. Additionally, an issue with editing an embed that had a local image loaded. The workaround for the time being is to update the message, not the embed.
* Removed None return annotation for any __init__Gravatar Xithrius2021-09-01-1/+1
|
* Fix type annotationsGravatar decorator-factory2021-08-31-7/+5
|
* chore: Refactor more code to follow our style guideGravatar ToxicKidz2021-05-14-6/+6
|
* chore: Add all of the converters into bot/utils/converters.pyGravatar ToxicKidz2021-05-05-27/+1
|
* chore: Apply suggested changesGravatar ToxicKidz2021-05-04-2/+2
|
* chore: Prefer double quotes over single quotesGravatar ToxicKidz2021-05-04-3/+3
|
* chore(evergreen): remove unneeded cog constructorsGravatar vcokltfre2021-04-19-1/+1
|
* chore(evergreen): make usage of . at sentence ends consistentGravatar vcokltfre2021-04-19-5/+5
|
* chore: switch commands.Bot typehints to bot.bot's BotGravatar vcokltfre2021-04-19-2/+3
|
* make invoke_help_command only take ctxGravatar ToxicKidz2021-03-13-1/+1
|
* make utility invoke_help_command functionGravatar ToxicKidz2021-03-12-2/+2
|
* change ctx.send_help to ctx.invoke(help_command)Gravatar ToxicKidz2021-03-11-1/+2
| | | | ;
* add modified filesGravatar Harold Karibiye2020-09-24-6/+6
| | | | | modify code to work on all platforms, fix grammatical errors
* exit minesweeper early if DM disabledGravatar Serban Constantin2020-05-04-11/+11
| | | | | If user has DMs disabled then don't initialize board and don't start a game.
* update minesweeper dm error messageGravatar Serban Constantin2020-04-29-1/+1
|
* handle disabled DMs when starting MinesweeperGravatar Serban Constantin2020-04-26-5/+10
| | | | | | If the user trying to start Minesweeper has DMs disabled then warn him in the channel where the command was invoked.
* (Minesweeper): Moved `UserNotPlayingError` to `bot.utils.exceptions`, ↵Gravatar ks1292020-04-08-14/+1
| | | | 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.
* (Minesweeper): Added try-except block to reveal command.Gravatar ks1292020-04-06-1/+5
|
* Deseasonify: log in `add_cog` rather than in each `setup`Gravatar kwzrd2020-03-28-1/+0
| | | | | | | | | | | | The previous system required each extension's `setup` func to log that the cog was loaded. This leads to inconsistent messages all trying to convey the same thing, variable logger names in the output file are difficult to read, and several extensions were not logging at all. By logging directly in the `add_cog` method, we reduce code repetition, ensure consistent format, and remove the responsibility to remember that a log should be made.
* Deseasonify: rename `seasons` pkg to `exts`Gravatar kwzrd2020-03-28-0/+285
It is believed that this is now a more logical name for the package, as extensions no longer bind to seasons. Internally, packages are still grouped into seasonal sub-packages. There are quite a few, and it makes sense to group them by a common theme that inspired their functionality.