aboutsummaryrefslogtreecommitdiffstats
path: root/bot/command.py (unfollow)
Commit message (Collapse)AuthorLines
2021-06-03Make self.pride a constantGravatar Shivansh-12/+10
2021-05-29Added "centisecond" in trivia_quiz.json (#751)Gravatar Soham Banerjee-1/+1
* added centisecond in json Co-authored-by: Xithrius <[email protected]>
2021-05-25Forward some status dog codes to status cat insteadGravatar Chris-0/+5
These status dog codes aren't server-friendly, so we use status cat instead.
2021-05-20(hotfix): Add __init__ to error handler cogGravatar Shivansh-1/+4
2021-05-20Remove trailing spaceGravatar Shivansh-007-1/+1
2021-05-19remove unnecessary checkGravatar Icebluewolf-3/+1
2021-05-18Use an actual EST timezoneGravatar Chris-1/+1
Timezones are hard :(
2021-05-18Make `setup` docstring same as other cogsGravatar Shivansh-007-1/+1
Co-authored-by: ToxicKidz <[email protected]>
2021-05-18Apply code review suggestionsGravatar Shivansh-3/+2
* Use read_text rather a with open * Remove Redundant list comprehension
2021-05-18Change bot typehint to bot.bot.BotGravatar Shivansh-2/+3
2021-05-17Update references using EST const to use arrowGravatar Chris-3/+4
2021-05-17Remove bs4 and pytz update arrow to 1.1.0Gravatar Chris-61/+31
Both bs4 and pytz are no longer used. Updated arrow to 1.1.0 while I'm here as the breaking changes don't impact us.
2021-05-17Change AoC helpers to use arrow over pytzGravatar Chris-11/+11
This is the only place in the codebase that uses pytz, so we can remove the dependancy by chaging this to use arrow. I chose to use America/Chicago arbitrarily, for no other reason that being the first tz google returned that was in EST.
2021-05-17fix: Handle a KeyError when using .quiz stopGravatar ToxicKidz-14/+16
2021-05-16fix: Send the help for the right command in .src helpGravatar ToxicKidz-7/+4
2021-05-16fix: use resolved referenceGravatar vcokltfre-1/+1
2021-05-16Type hint optional parameterGravatar ChrisJL-1/+1
Co-authored-by: ToxicKidz <[email protected]>
2021-05-16Update CODEOWNERS with poetry filesGravatar Chris-1/+2
2021-05-16Bump d.py to 1.7.2Gravatar Chris-72/+161
d.py 1.5.1 depending on multidict, which needs gcc installed. Bumping d.py to 1.7.2 removes the need fo rbuild tools in the image. d.py 1.7 introduced the line sep are on the paginator, so this needs to be added to our linepaginator subclass.
2021-05-16Revert bump to d.pyGravatar Chris-146/+68
2021-05-16chore: use ctx.fetch_messageGravatar vcokltfre-1/+1
Co-authored-by: ToxicKidz <[email protected]>
2021-05-15chore: add 'valid' wordingGravatar vcokltfre-1/+1
2021-05-15feat: allow replying to messages to bookmarkGravatar vcokltfre-1/+7
2021-05-15chore: Apply Iceman's suggestionsGravatar ToxicKidz-2/+2
Co-authored-by: Rohan Reddy Alleti <[email protected]>
2021-05-15chore: Add Iceman's suggested changesGravatar ToxicKidz-13/+17
2021-05-15chore: Apply suggestions from code reviewGravatar ToxicKidz-2/+2
Co-authored-by: Xithrius <[email protected]>
2021-05-15chore: Make more things use constantsGravatar ToxicKidz-17/+9
2021-05-15Latex: temporarily disable loading of the cogGravatar Matteo Bertucci-0/+5
As we are currently working on restricting resources on the latex cog, this commit will prevent it from loading. It will be reverted once solved.
2021-05-15chore: Apply suggested changes to hanukkah_embed.pyGravatar ToxicKidz-12/+2
2021-05-15chore: Make things that are only used once constantsGravatar ToxicKidz-67/+45
2021-05-15fix: Remove the useless returnGravatar ToxicKidz-1/+0
Co-authored-by: Xithrius <[email protected]>
2021-05-15chore: Make all aliases in commands tuplesGravatar ToxicKidz-31/+31
2021-05-15chore: Update myvalenstate.pyGravatar ToxicKidz-3/+2
Removes a redundant f string, and when is one leftover match, get the first item of the match list instead of having ['<match>']
2021-05-15chore: Reformat bot/utils/__init__.pyGravatar ToxicKidz-6/+10
2021-05-15Namespace each concurrency groupGravatar Chris-4/+4
This stops different actions, from the same commit, running in parallel from canceling each other.
2021-05-15chore: Remove redundant f-stringsGravatar ToxicKidz-3/+3
2021-05-15Add concurrency behaviour to github actionsGravatar Chris-0/+15
This grouping means any new actions on either a PR or against main, will cancel any running actions. We do not care about these old actions, as they are out of date, so cancelling them will mean the actions we do care about get done faster.
2021-05-14Remove comments and update docstringsGravatar Icebluewolf-7/+3
Co-authored-by: Joe Banks <[email protected]>
2021-05-14Fixes linting issue and improves randomness selection.Gravatar Ice Wolfy-11/+11
2021-05-14chore: Refactor more code to follow our style guideGravatar ToxicKidz-100/+136
2021-05-14Added randomness to cat or dog when not specifiedGravatar Ice Wolfy-1/+0
2021-05-14Added randomness to cat or dog when not specifiedGravatar Ice Wolfy-6/+16
2021-05-13chore: Break up the HelpSession.build_pages methodGravatar ToxicKidz-85/+87
2021-05-13delete trailing whitespace after docstringGravatar Objectivitix-1/+1
smh i have to stop making these errors lmao, definitely going to see that precommit thing after this
2021-05-13fix the QuizEntry dataclassGravatar Objectivitix-1/+2
2021-05-13add a docstring to the dataclassGravatar Objectivitix-0/+1
2021-05-13implement decorator-factory's changesGravatar Objectivitix-24/+31
except for the major refactoring, which would probably be in a separate pr
2021-05-13chore: Use pathlib.Path.read_text & write_text over openGravatar ToxicKidz-98/+63
2021-05-13change the unsolvable math question to a linalg questionGravatar Objectivitix-2/+2
2021-05-12feat: merge ping and uptime cogs (#722)Gravatar vcokltfre-35/+19