aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2021-08-12Store paths on Tags instead of only accepting the file contentsGravatar Numerlor-3/+4
2021-08-02Make return condition clearerGravatar Numerlor-8/+9
2021-08-02Simplify condition by assigning group and name before itGravatar Numerlor-5/+4
2021-08-02Use opposite comparison operator instead of negating conditionGravatar Numerlor-1/+1
2021-08-02Move tag identifier creation method to a TagIdentifier constructorGravatar Numerlor-10/+10
2021-08-02Change if to elif to indicate it's exclusive with the above ifGravatar Numerlor-1/+1
2021-08-02Use an and instead of nested ifsGravatar Numerlor-4/+3
2021-08-02Move `current_group` assignment and use it instead of `identifier.group`Gravatar Numerlor-3/+3
2021-08-02Use "message" in docstring for consistencyGravatar Numerlor-1/+1
2021-08-02Move assignment to its own line instead of using an assignment exprGravatar Numerlor-1/+2
2021-08-02Do not pass in embed as a kwargGravatar Numerlor-1/+1
Using a doesn't add anything to the readability of the line and makes it inconsistent with other uses
2021-08-02Remove embed title bolding for group listingGravatar Numerlor-1/+1
The other embeds don't have a bold title
2021-08-02Use \N escapeGravatar Numerlor-1/+4
2021-08-02Improve help output of get commandGravatar Numerlor-2/+6
2021-08-02Add missing "the"Gravatar Numerlor-1/+1
Co-authored-by: Bluenix <[email protected]>
2021-08-02Correct the documented return objectsGravatar Numerlor-1/+1
2021-07-07Fix leading space in str of identifiers without a groupGravatar Numerlor-1/+4
This issue doesn't show on discord as whitespace is collapsed in embeds, but could be seen in logs
2021-07-06Emit tag if only one fuzzy match is foundGravatar Numerlor-7/+15
This feature was accidentally removed when restructuring the code
2021-07-06Do not add suggestion for tags with short names if a group is specifiedGravatar Numerlor-6/+14
2021-07-06Update outdated docstringGravatar Numerlor-1/+1
The saving functionality has not been present on the bot for a while
2021-07-06Fix testsGravatar Numerlor-10/+18
Unnecessary invoked with mocks were removed and some more checks added for the new behaviour
2021-07-06Add leading » when listing tag suggestionsGravatar Numerlor-1/+1
2021-07-06Remove unnecessary typehintGravatar Numerlor-2/+2
2021-07-06Update strings to use double quotesGravatar Numerlor-9/+9
2021-07-06remove unused thresholds parameterGravatar Numerlor-8/+2
2021-07-06Move tag search to new designGravatar Numerlor-13/+20
2021-07-06Add option to list all tags in a groupGravatar Numerlor-2/+19
2021-07-06Move tag listing to new design and move it outside of tag display methodGravatar Numerlor-73/+97
The display method was renamed to get_tag_embed and now exclusively handles embed for a tag/suggestions instead of holding the logic of the whole command fixup! Move tag listing to new design and move it outside of tag display method
2021-07-01Move cooldown handling to the Tag classGravatar Numerlor-34/+15
Instead of the Cog keeping track of cooldowns of all tags, every tag now handles its own cooldowns which are registered with the `set_cooldown_for` method. This change also fixes the bug where cooldowns can only be on cooldown in only one channel at a time, with invokations in other places cancelling cooldowns.
2021-07-01Base functionality of tag fetching with groups and in file metadataGravatar Numerlor-89/+167
The code was restructured to hold tags and their identifiers in individual classes and some methods moved to function to detach some of the not directly related functionality from the cog class
2021-06-30Remove the pixels token detectorGravatar Chris Lovering-108/+0
2021-06-29Ensure mods cannot be watchedGravatar Chris Lovering-0/+5
This meant admins could also be watched, meaning their messages in ancy channel would be relayed to the BB channel.
2021-06-27upgrade pytest-xdistGravatar Thomas Grainger-6/+6
2021-06-27move cov config to tomlGravatar Thomas Grainger-5/+5
2021-06-27Add alias for voice_verify commandGravatar wookie184-1/+1
Added voice-verify alias as the channel and tag are hyphenated so it may be confusing as it is currently.
2021-06-27Docker-compose: upgrade to postgres 13Gravatar Matteo Bertucci-1/+1
See https://git.pydis.com/site/pull/545
2021-06-22Update bot/exts/utils/bot.py Gravatar Steele Farnsworth-1/+1
Change single quotes to double quotes and un-escape the internal single quote. Co-authored-by: Leon Sandøy <[email protected]>
2021-06-22Prevent one from using the `!echo` command for a channel in which one can't ↵Gravatar swfarnsworth-0/+2
speak.
2021-06-22Reorder everyone ping filter so it fires after watch_regexGravatar Bast-14/+14
This means messages with both @everyone and a watched term ping the mod team instead of hiding beneath the everyone ping silent alert