aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2021-09-22Handle argument parsing through identifier from_string instead of d.pyGravatar Numerlor-24/+13
This lets us skip on the logic of figuring out whether we received a tag name alone, or both a name and a group
2021-09-13Reword all tags embed titleGravatar Numerlor-1/+1
2021-09-13Rename methods to better reflect their new behaviourGravatar Numerlor-4/+4
2021-09-13remove redundant returns on both branchesGravatar Numerlor-2/+1
2021-09-13Return formatted list instead of paginating directly in tag list methodsGravatar Numerlor-20/+18
2021-09-06Use a -inf default for comparison to skip containment checkGravatar Numerlor-1/+1
2021-09-06Return 0 if search string has no a-z charactersGravatar Numerlor-0/+3
2021-09-06Remove TagNameConverterGravatar Numerlor-110/+13
The converter was now only used to restrict requested names which can be handled by not matching a tag in the cog and not displaying output, this allows us to be a bit more generous with tag names during the command fallback when a name with invalid symbols is parsed after a group
2021-09-06simplify fuzzy suggestion funcGravatar Numerlor-14/+9
Co-authored-by: Bluenix <[email protected]>
2021-09-04Server command now uses correct TalentPool attr (#1810)Gravatar ChrisJL-1/+1
This was attr changed when we removed the concept of a user being 'watched' while removing the talentpool.
2021-09-04Pin platform in DockerfileGravatar Chris Lovering-1/+1
Some of our deps don't have wheels for atm processors. With Mac's M1 chips becomming more common, we should make it easier for those users to build our environments.
2021-09-04Update in accordance with python-discord/kubernetes#95Gravatar Joe Banks-1/+1
2021-09-03Pop user from talent pool cache when unnominatedGravatar Chris Lovering-0/+1
2021-09-03`Unnominate reason` to `Unnomination reason`Gravatar Xithrius-1/+1
2021-09-01Add an extra alias to unnominateGravatar Chris Lovering-1/+1
2021-09-01Add support for searching infractions by infraction id (#1787)Gravatar TizzySaurus-4/+21
* Add support for searching infractions by infraction id Can now search by infraction id via `!infraction {id}`.
2021-08-31Rewording botvars.md tag (#1786)Gravatar Hunter2807-1/+1
* Reword botvar.md Co-authored-by: Steele Farnsworth <[email protected]>
2021-08-30Fix spelling of a TalentPool command nameGravatar Chris Lovering-1/+1
2021-08-30Make the base_url argument in doc set optionalGravatar Numerlor-3/+12
2021-08-30Rename list nominated user command for clarityGravatar Chris Lovering-2/+2
2021-08-30use global logger in talent pool, over a self var that has been deletedGravatar Chris Lovering-1/+1
2021-08-30Add back missing default params for TalentPool cogGravatar Chris Lovering-0/+1
2021-08-30Update unnominate message to remove reference to relaying messages.Gravatar Chris Lovering-1/+1
2021-08-30Update api endpoint name in talent pool reviewGravatar Chris Lovering-1/+1
2021-08-30Update comment to reference the new TalentPool cache nameGravatar Chris Lovering-3/+3
2021-08-30Remove code that is no longer hitGravatar Chris Lovering-4/+0
2021-08-30Change all references to watch to nominate insteadGravatar Chris Lovering-17/+25
2021-08-30Add concurrency rules to all GitHub workflowsGravatar Chris Lovering-0/+19
This concurrency rule means that workflow actions will be cancelled if a new set of actions are triggered on the same ref. A ref is either a PR or a branch itself. Doing this means that if someone pushes to a PR multiple times in quick succession, workflows won't get queued up. Instead, only the workflows from the most recent changes will run, as this is all we really care about anyway. I see the benefits of this as twofold. 1. The author gets faster feedback about the most recent change pushed, rather than have to wait for all previous runs to completed 2. Other contributors don't need to wait for a queue of redundant workflows to finish.
2021-08-30Allow dmrelay to only be used in mod channels.Gravatar Qwerty-133-2/+4
2021-08-30Remove the json argument from the raw command. (#1792)Gravatar Qwerty-133-6/+14
2021-08-29Simplify group_score definitionGravatar Numerlor-12/+7
Co-authored-by: Bluenix <[email protected]>
2021-08-29Fix punctuationGravatar Numerlor-2/+2
Co-authored-by: Bluenix <[email protected]>
2021-08-29Add more clarity to docstringsGravatar Qwerty-133-5/+5
Clarify what Discord usernames are and the usage of the word "ambiguity".
2021-08-29Make the helper function more readableGravatar Qwerty-133-8/+4
2021-08-29Use unambiguous converters for infraction commandsGravatar Qwerty-133-15/+16
2021-08-29Fix mismatches in parameter names and docstringsGravatar Qwerty-133-2/+2
2021-08-29Add the UnambiguousMember converterGravatar Qwerty-133-3/+23
2021-08-29Replace UserMentionOrID with UnambiguousUserGravatar Qwerty-133-12/+26
2021-08-28simplify assignment and add comment explaining its purposeGravatar Numerlor-2/+2
2021-08-28Remove unnecessary line in helpGravatar Numerlor-1/+0
Co-authored-by: Bluenix <[email protected]>
2021-08-28CI: add ISC License (ISCL) to allowed licensesGravatar Matteo Bertucci-0/+1
2021-08-28Upgrade pip-licenses to 5.3.2Gravatar Matteo Bertucci-5/+5
Thanks to https://github.com/raimon49/pip-licenses/pull/109, we are now able to ignore spaces around the allow-only parameter. Rejoice!