aboutsummaryrefslogtreecommitdiffstats
path: root/bot (follow)
Commit message (Collapse)AuthorAgeLines
...
| | | * | | Prevent empty JSON raising an exception.Gravatar scragly2019-09-19-0/+1
| | | | | |
| | | * | | Remove egg_huntGravatar scragly2019-09-19-671/+0
| | | | | |
| | | * | | Fix incorrect merge conflict resolutions, lint remaining itemsGravatar S. Co12019-09-11-27/+33
| | | | | |
| | | * | | Merge branch 'master' into flake8-annotationsGravatar S. Co12019-09-11-76/+76
| | | |\ \ \ | | | | | |/ | | | | |/|
| | | | * | Update bot/seasons/evergreen/snakes/utils.pyGravatar S. Co12019-09-06-1/+1
| | | | | | | | | | | | | | | | | | Co-Authored-By: Mark <[email protected]>
| | | | * | Fix bug in Candy Collection CogGravatar S. Co12019-09-06-5/+6
| | | | | | | | | | | | | | | | | | When the ten_recent_msg helper coro is called, it grabs the most recent message by ID, but some of the following lines assume this object is a Message ID, not an integer.
| | | | * | Fix broken cancellation logic for waiting SaL gameGravatar S. Co12019-09-06-5/+1
| | | | | | | | | | | | | | | | | | Previous logic allowed for any non-playing member to cancel the game
| | | | * | Apply suggestions from code review Gravatar S. Co12019-09-06-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Comprehension cleanup Co-Authored-By: Mark <[email protected]>
| | | | * | Fix misconfigured flake8 so docstrings are properly lintedGravatar S. Co12019-09-05-30/+30
| | | | | | | | | | | | | | | | | | Relint
| | | | * | Update Snakes and LaddersGravatar sco12019-09-04-37/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix missing await preventing a non-started game from cancelling when timing out when waiting for the game to start * Remove restriction on minimum number of players required for the game to run. This applies to both starting the game and for ending the game if players leave; the game can now be played solo. * Prevent cancellation of the game if the player who initiated the game leaves but there are still people playing * Allow Moderation staff to cancel a game they are not part of * Fix issue where a game is not being properly ended if all the players leave
| | | | * | Hacktober cog cleanupGravatar sco12019-09-04-25/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Clean up type hinting * Fix command typo in account linking helper message * Add constant & generic handling for number of PRs to shirt * Add constant & generic handling for event year in GH API query
| | | | * | Resolve alias conflict between minsweeper & monster surveyGravatar sco12019-09-04-1/+1
| | | | |/
| | | * | Lint remaining filesGravatar S. Co12019-09-09-58/+62
| | | | | | | | | | | | | | | hacktoberstats cog handled in separate PR
| | | * | Initial linting passGravatar S. Co12019-09-09-243/+261
| | | |/ | | | | | | | | | | | | Bot root, seasons cog, easter cogs, evergreen cogs, halloween cogs
| | | * Merge pull request #260 from kosayoda/text-modifyGravatar Mark2019-09-03-4/+109
| | | |\ | | | | | | | | | | Modify text :-)
| | | | * Improve wording of message conversion functionGravatar kosayoda2019-08-29-4/+7
| | | | |
| | | | * Remove redundant command groupGravatar kosayoda2019-08-29-15/+6
| | | | |
| | | | * Implement uwuGravatar kosayoda2019-08-18-3/+27
| | | | |
| | | | * Add utils function to replace multiple words in a given stringGravatar kosayoda2019-08-18-0/+56
| | | | |
| | | | * Update function annotations for existing methodsGravatar kosayoda2019-08-17-4/+4
| | | | |
| | | | * Implement randomcaseGravatar kosayoda2019-08-17-0/+31
| | | | |
| | * | | Edit datesGravatar Suhail2019-06-30-3/+3
| | | | |
* | | | | Worked on the requested changes and also made a few other changes:Gravatar RohanJnr2019-10-02-147/+112
|/ / / / | | | | | | | | | | | | - when the user uses the command to stop the game, the bot fails to reply back with the winners list. This is because the varibale player_data is being initialised to {} at the start of the command. I solved this by making a player_data variable in the cog __init__() with the channel id being the key and dict as value
* | | | added function annotations to the check methodGravatar RohanJnr2019-10-01-1/+1
| | | |
* | | | added 10 more questionsGravatar RohanJnr2019-10-01-0/+90
| | | |
* | | | added some questions to general, for now users can only access general ↵Gravatar RohanJnr2019-09-30-11/+161
| | | | | | | | | | | | | | | | category questions.I have disabled hints for general(cant make up any hints).The score is now calculated on time based answer.I am also sending information about the topic/thing on which the question has been asked.Will add more questions in a couple of days
* | | | made the request changes which involves fixing some grammer, following PEP8 ↵Gravatar RohanJnr2019-09-23-29/+17
| | | | | | | | | | | | | | | | format, removed a debug statement and also some minor stuff.
* | | | added function annotationsGravatar RohanJnr2019-09-23-8/+12
| | | |
* | | | fixed linting errorsGravatar RohanJnr2019-09-23-4/+3
| | | |
* | | | corrected my spelling mistake on the file nameGravatar RohanJnr2019-09-23-0/+0
| | | |
* | | | Modified the code drastically for the quiz game:Gravatar RohanJnr2019-09-23-267/+227
| | | | | | | | | | | | | | | | | | | | - Using a while loop to run a game rather than bunch of the functions calling each other. - using wait_for() to send hints, answers and to move to next questions.
* | | | using self.categories insted of list(self.categories.keys())Gravatar RohanJnr2019-09-11-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Pending work: - Function annotation - Announcement of multiple winners (if they have same points).
* | | | Made the following changes:Gravatar RohanJnr2019-09-11-37/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Linting - renamed self.games to self.running_games - using self.running_games insted of list(self.running_games.keys()) to loop over its keys. - Renamed the file to trivia_quiz
* | | | A fun trivia quiz that can be played on multiple channelsThe trivia quiz has ↵Gravatar Rohan2019-08-27-0/+297
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | the following features: quiz has the following features: - There wont be any options to the questions asked, the users have to type the answer in the chat and the bot will pick up the right anwer - If 3 questions have not been answered in a row, the quiz will be brought to a halt assuming inactivity. - There are also hints in this game! A hint will be sent after 10s after the question has been sent.Each question has a maximum if 2 hints. - The bot checks for the closest answer rather than the exact one(Incase of typoes in the users answer
* | | Merge pull request #265 from vivax3794/losing_addintionsGravatar Mark2019-08-25-3/+12
|\ \ \ | | | | | | | | [minesweeper] changed board revealing at end of games.
| * | | changed board revealing at end of games.Gravatar vivax37942019-08-24-3/+12
| | | |
* | | | Merge pull request #261 from kosayoda/docstring-deparamGravatar Mark2019-08-25-134/+37
|\ \ \ \ | |/ / / |/| | | Remove parameter and return value documentation from docstring
| * | | Remove missed return docGravatar kosayoda2019-08-20-5/+1
| | | |
| * | | Fix lint errorsGravatar kosayoda2019-08-20-9/+3
| | | |
| * | | Replace paramater and return value docstring documentation with an extended ↵Gravatar kosayoda2019-08-19-121/+34
| | |/ | |/| | | | | | | summary
* | | fixed import order.Gravatar vivax37942019-08-21-1/+1
| | |
* | | making sure a game is always has a way to win no matter how hard it is.Gravatar vivax37942019-08-21-1/+5
| | |
* | | RecommendGame pull request #258 from jakeHebert/masterGravatar scragly2019-08-19-0/+79
|\ \ \ | | | | | | | | Add RecommendGame cog and resources
| * | | added function annotationsGravatar jakeHebert2019-08-18-3/+3
| | | |
| * | | added validation for Embed author formattingGravatar jakeHebert2019-08-16-1/+2
| | | |
| * | | cleaned up code, changed json fieldnames, changed command name/aliasGravatar jakeHebert2019-08-15-19/+15
| | | |
| * | | moved populating game_recs to module level, added an index to iterate ↵Gravatar jakeHebert2019-08-15-17/+19
| | | | | | | | | | | | | | | | game_recs, edit docstring, added aliases
| * | | edited json files, added new resource, small tweaks to EmbedGravatar jakeHebert2019-08-15-29/+16
| | | |
| * | | edited json files, added new resource, small tweaks to EmbedGravatar jakeHebert2019-08-15-0/+0
| | | |
| * | | added wiki links and author to json files, changes to EmbedGravatar jakeHebert2019-08-14-5/+67
| | | |