aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge branch 'master' into tic-tac-toeGravatar ks1292020-04-12-3/+29
|\
| * Merge pull request #396 from ks129/keyerrors-fixGravatar kwzrd2020-04-08-3/+29
| |\ | | | | | | | | | * Add error handling for invalid APOD dates * Add error handling for non-existent minesweeper games
| | * (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
| |/
* | (TicTacToe): Setting winning as priority in AI instead blocking opponent.Gravatar ks1292020-04-12-1/+1
| |
* | (TicTacToe): Implemented AI to game and cog.Gravatar ks1292020-04-12-28/+54
| |
* | (TicTacToe): Created `AI` class for Tic Tac Toe against computer playing.Gravatar ks1292020-04-12-0/+47
| |
* | (TicTacToe): Created command to show game information `tictactoe history ↵Gravatar ks1292020-04-09-0/+10
| | | | | | | | show <game_id>`.
* | (TicTacToe): Added way to send board to custom channel in `Game.send_board`.Gravatar ks1292020-04-09-1/+3
| |
* | (TicTacToe): Added new variable to `Game` class: `canceled`, applied it's ↵Gravatar ks1292020-04-09-2/+24
| | | | | | | | changes and created new `tictactoe history` command.
* | (TicTacToe): Added loser and winner attaching to `Game.play` winning handling.Gravatar ks1292020-04-09-0/+2
| |
* | (TicTacToe): Added check that don't allow you to play against yourself to ↵Gravatar ks1292020-04-09-0/+3
| | | | | | | | `tictactoe` command.
* | (TicTacToe): Removed unnecessary variable `channel` from `Game`.Gravatar ks1292020-04-09-3/+1
| |
* | (TicTacToe): Added winner check to `Game.play`.Gravatar ks1292020-04-09-0/+5
| |
* | (TicTacToe): Created helper function `Game.check_for_win`.Gravatar ks1292020-04-09-0/+18
| |
* | (TicTacToe): Created `edit_board` function to `Game`, made fixes to ↵Gravatar ks1292020-04-09-2/+29
| | | | | | | | `Player.get_move`, implemented `Game.play` functionality.
* | (TicTacToe): Redesigned board system, applied it's changes + created new ↵Gravatar ks1292020-04-09-8/+39
| | | | | | | | function to `Player` class: `get_move`.
* | (TicTacToe): Created function `Game.play`.Gravatar ks1292020-04-09-0/+6
| |
* | (TicTacToe): Removed unnecessary variable creation in `Game.send_board`.Gravatar ks1292020-04-09-2/+1
| |
* | (TicTacToe): Added `symbol` to player class creation in `tictactoe` command.Gravatar ks1292020-04-07-1/+1
| |
* | (TicTacToe): Added `symbol` to `Player` class.Gravatar ks1292020-04-07-1/+2
| |
* | (TicTacToe): Added check is opponent free when request playing.Gravatar ks1292020-04-07-0/+5
| |
* | (Constants, TicTacToe): Fixed number emojis contants, created helper ↵Gravatar ks1292020-04-07-11/+30
| | | | | | | | function `send_board` to `Game` class.
* | (TicTacToe): Moved checks to outside of class, created initial tic tac toe ↵Gravatar ks1292020-04-07-16/+30
| | | | | | | | command.
* | (TicTacToe): Created new class variable `over` to `Game`, added over check ↵Gravatar ks1292020-04-07-2/+7
| | | | | | | | to cog checks.
* | (TicTacToe): Created check `is_requester_free`.Gravatar ks1292020-04-07-0/+7
| |
* | (TicTacToe): Created check `is_channel_free`.Gravatar ks1292020-04-07-1/+8
| |
* | (TicTacToe): Added new variable `games` to `TicTacToe` cog.Gravatar ks1292020-04-07-0/+1
| |
* | (TicTacToe): Created helper function `add_reactions` to `Game` class to add ↵Gravatar ks1292020-04-07-0/+5
| | | | | | | | all number reactions to message.
* | (TicTacToe): Added `get_confirmation` function to `Game` class to make sure ↵Gravatar ks1292020-04-07-0/+41
| | | | | | | | that opponent want to play.
* | (Constants, TicTacToe): Added X and O emojis.Gravatar ks1292020-04-07-0/+2
| |
* | (Constants, TicTacToe): Added confirmation and declining emojis.Gravatar ks1292020-04-07-0/+2
| |
* | (Constants, TicTacToe): Added number emojis that will be shown in board and ↵Gravatar ks1292020-04-07-0/+13
| | | | | | | | in reactions.
* | (TicTacToe): Added new player-about variables to `Game` class.Gravatar ks1292020-04-07-0/+6
| |
* | (TicTacToe): Replaced `discord.User` with `Player` in `Game` class signature.Gravatar ks1292020-04-07-1/+1
| |
* | (TicTacToe): Added `ctx` variable to `Player` class.Gravatar ks1292020-04-07-1/+2
| |
* | (TicTacToe): Created `Game` classGravatar ks1292020-04-07-1/+12
| |
* | (TicTacToe): Created `Player` classGravatar ks1292020-04-07-0/+8
| |
* | (TicTacToe): Created initial empty cog with loading.Gravatar ks1292020-04-07-0/+15
|/
* Merge pull request #392 from python-discord/fetch-devlog-channelGravatar kwzrd2020-04-04-2/+6
|\ | | | | Try to fetch devlog channel if not found in cache
| * Try to fetch devlog channel if not found in cacheGravatar kwzrd2020-04-04-2/+6
|/
* Merge pull request #391 from python-discord/greeting-messageGravatar Mark2020-04-03-0/+2
|\ | | | | Send greeting message on bot start-up