aboutsummaryrefslogtreecommitdiffstats
path: root/bot (follow)
Commit message (Collapse)AuthorAgeLines
...
| | | * | 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
| | * | | Fix linter issueGravatar Will Da Silva2019-10-03-1/+1
| | | | |
| | * | | Add task to post daily pride factGravatar Will Da Silva2019-10-03-13/+36
| | | | | | | | | | | | | | | | | | | | Also, pride facts are posted as embeds now
| | * | | Fix linter issuesGravatar Will Da Silva2019-10-03-2/+2
| | | | |
| | * | | Fix linter issuesGravatar Will Da Silva2019-10-03-4/+4
| | | | | | | | | | | | | | | | | | | | I don't understand why these linter issues don't come up when I run flake8 myself
| | * | | Minor improvements for pride facts cogGravatar Will Da Silva2019-10-03-4/+4
| | | | |
| | * | | Add pride facts cogGravatar Will Da Silva2019-10-03-0/+83
| | | | |
| | * | | Add pride facts for 2020Gravatar Will Da Silva2019-10-03-0/+34
| | | |/ | | |/|
| * | | Change drag queen name list to JSONGravatar Will Da Silva2019-10-02-250/+252
| | | |
| * | | Fix linter issueGravatar Will Da Silva2019-10-01-1/+1
| | | |
| * | | Add drag queen name generatorGravatar Will Da Silva2019-10-01-0/+32
| | | | | | | | | | | | | | | | | | | | Could be improved by writing a message that says: "@command_invoker's drag queen name is <generated name>"
| * | | Add drag queen namesGravatar Will Da Silva2019-10-01-0/+248
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The names are stored in a text file, since they're basically just a list, and json seems like overkill for this case. In any case switching over to json later would be easy. The names could be separated into first and last names in order to generate more combinations, but that would break the wordplay that many of the names have. The names were taken from https://www.fantasynamegenerators.com/drag-queen-names.php as permitted by the footnote on the page.
* | | had the wrong prefix in docstring xDGravatar vivax37942019-10-12-1/+1
| | |
* | | fixed " misplace meant.Gravatar vivax37942019-10-12-1/+1
| | |
* | | Added Beginner to docstring.Gravatar vivax37942019-10-12-1/+6
| | |
* | | Added logging to "get_issues".Gravatar vivax37942019-10-07-2/+7
| | |
* | | bug fixesGravatar vivax37942019-10-05-8/+13
| | |
* | | added beginnerGravatar vivax37942019-10-05-14/+36
| | |
* | | added embed.Gravatar vivax37942019-10-02-11/+28
| | |
* | | get issue dataGravatar vivax37942019-10-01-2/+37
| | |
* | | added hacktober-issue-finder cog.Gravatar vivax37942019-10-01-0/+18
|/ /
* | Disable announcements and add hacktober icon.Gravatar Leon Sandøy2019-09-30-5/+11
| | | | | | | | | | | | | | | | The Halloween season was currently configured to run with spooky icons and to announce a terrible, contentless announcement. This has been disabled and the neon hacktoberfest icon has been placed in its stead.
* | Merge branch 'master' into date-fixGravatar Leon Sandøy2019-09-30-1184/+1750
|\ \
| * | Update flake8-annotation pin & relintGravatar S. Co12019-09-26-4/+4
| | |
| * | Merge pull request #271 from python-discord/text-modify-embedsGravatar Chris G2019-09-24-19/+84
| |\ \ | | | | | | | | Modify text of embeds for text-modify commands
| | * | Dumb kosa forgot to relint after making a small changeGravatar kosayoda2019-09-11-1/+1
| | | |
| | * | Merge branch 'text-modify-embeds' of github.com:python-discord/seasonalbot ↵Gravatar kosayoda2019-09-11-98/+100
| | |\ \ | | | | | | | | | | | | | | | into text-modify-embeds
| | * | | Add more uwu conversionsGravatar kosayoda2019-09-11-0/+1
| | | | |
| | * | | Add embed conversion functionality to .rcase, small fixesGravatar kosayoda2019-09-11-12/+29
| | | | |
| | * | | Add embed conversion functionality to .uwuGravatar kosayoda2019-09-11-14/+61
| | | | |
| * | | | Reflect persist module changes in hacktober cog.Gravatar scragly2019-09-23-2/+2
| | | | | | | | | | | | | | | Co-Authored-By: Sebastiaan Zeeff <[email protected]>
| * | | | Use mkdir exists kwarg instead of checking existing ahead of time.Gravatar scragly2019-09-23-4/+2
| | | | |
| * | | | Improve func name, example, directory managementGravatar scragly2019-09-23-9/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Function name has been changed to `make_persistent` after prompt by @lemonsaurus asking for a more descriptive name. Thanks @MarkKoz for providing the alternate name. During local testing, the `data` directory doesn't exist yet. In prod, this isn't an issue as the persistent volume is mounted at that location. To make local testing more convenient, the directory is checked and made if not found. Persistent data files will be placed in a seasonal subdirectory so long as they have a valid season name somewhere in their path, otherwise they will be placed directly in the data directory. Added a note to docstring to avoid same-named files in the same seasons or it will conflict with each other in the persistent data directory. The example was extended a little bit to make it both actually valid if tested and hopefully make it easier to understand what's going on.
| * | | | Check explicitly if file exists rather than any existing path.Gravatar scragly2019-09-23-1/+1
| | | | | | | | | | | | | | | Co-Authored-By: Mark <[email protected]>
| * | | | Add better explanatory docstring and example for persist.datafile.Gravatar scragly2019-09-20-1/+17
| | | | |
| * | | | Add persistent datafile utils.Gravatar scragly2019-09-19-1/+27
| | | | |
| * | | | 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