aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2021-01-17Adds Return On Tag MatchesGravatar Hassan Abouelela-4/+9
2021-01-17Update to use Member.pending instead of bot.http.get_memberGravatar Joe Banks-3/+1
2021-01-16Removed 'Channels' import, unused.Gravatar xithrius-1/+1
2021-01-16Remove unwatch reason from the !nominate outputGravatar Matteo Bertucci-2/+1
As the watch reason can contain private information, we shouldn't share it with the whole staff.
2021-01-11Update discord.py to the 1.6 releaseGravatar MarkKoz-17/+27
2021-01-11Annihilate all traces of Developer and Unverified rolesGravatar mbaruh-720/+14
2021-01-10Make sure that users without the Developers role can use tag.Gravatar Matteo Bertucci-2/+2
We have a check in place to restrict tag usage to a certain role, but our default is the Developers role, and some users now don't have this code. This commit fixes this by using None as a default and adding a truth test in the check_accessibility method.
2021-01-08Upped duckpond threshold to 5Gravatar Boris Muratov-1/+1
2021-01-06Only helpers and below now get command suggestionsGravatar xithrius-2/+2
2021-01-05If user is a staff member, no command suggestions.Gravatar xithrius-6/+7
2021-01-02Removed 'Optional' import.Gravatar xithrius-1/+1
2021-01-02Removed unnecessary debugging logs.Gravatar Xithrius-2/+0
Co-authored-by: Dennis Pham <[email protected]>
2021-01-02Set reason to default as an empty string.Gravatar Xithrius-5/+2
Co-authored-by: Dennis Pham <[email protected]>
2021-01-02No nominaton reason blank replaced by italic NoneGravatar xithrius-2/+4
2021-01-02Removed possibility of exception via walrus.Gravatar xithrius-16/+16
2021-01-01Update discord.py to fix webhook message publishing.Gravatar Den4200-45/+60
Related to #1342.
2020-12-30"Pending: False" to "Verified: True" to agree with new semantics.Gravatar Steele-1/+1
2020-12-28Update raw command no permission error messageGravatar ks129-1/+1
Co-authored-by: Xithrius <[email protected]>
2020-12-27Enable raw commandGravatar ks129-2/+2
2020-12-27Add check does user can see channel in raw commandGravatar ks129-0/+4
2020-12-25`!user` command says if user is "Verified"Gravatar Steele-2/+2
Previously, `!user` said if the user is "Pending", whereas "Verified" is the boolean opposite.
2020-12-24`if user.pending` -> `if not user.pending`Gravatar Steele Farnsworth-1/+1
This was a logic error. This functionality is unfortunately difficult to test outside of production.
2020-12-23`ALTERNATE_VERIFIED_MESSAGE`: "You're" -> "You are".Gravatar Steele-1/+1
2020-12-23Move PEP cog to info extensions categoryGravatar ks129-0/+0
2020-12-23Move constants out from classGravatar ks129-5/+4
2020-12-22Rewrite `!verify` to account for new native-gate-only verification.Gravatar Steele-10/+11
Renamed method; if not `user.pending`, adds and immediately removes an arbitrary role (namely the Announcements role), which verifies the user.
2020-12-20Add the clear alias to the clean commandGravatar Matteo Bertucci-1/+1
2020-12-20Fix wrong way for getting Git SHAGravatar ks129-1/+1
2020-12-20Remove unused constantGravatar ks129-1/+0
2020-12-20Implement GitHub API authorization headerGravatar ks129-1/+9
2020-12-20Log warning and return early when can't get PEP URLs from APIGravatar ks129-0/+4
2020-12-20Make last PEPs listing refresh non-optionalGravatar ks129-1/+2
2020-12-20Set last PEPs listing at beginning of functionGravatar ks129-1/+1
2020-12-20Move PEP related functions and command to own cogGravatar ks129-136/+154
2020-12-20Add GitHub API key to config as environment variableGravatar ks129-0/+2
2020-12-20Remove aiohttp integrationGravatar ks129-2/+0
2020-12-20Use bot prefix instead pydis-bot for Sentry release workflowGravatar ks129-1/+1
2020-12-20Attach release on Sentry SDK initializationGravatar ks129-1/+2
2020-12-20Add constant for Git SHAGravatar ks129-0/+3
2020-12-20Inject Git SHA in container build workflowGravatar ks129-0/+2
2020-12-20Consume Git SHA build arg and add to it to environmentGravatar ks129-1/+5
2020-12-19Fix flake8 pre-commit hook running through PyCharmGravatar MarkKoz-1/+1
2020-12-19Remove obsolete test casesGravatar MarkKoz-8/+0
Forgot to remove these when removing `loop_is_running` in a previous commit.
2020-12-19APIClient: create the session directly in __init__Gravatar MarkKoz-21/+10
The client is already instantiated in a coroutine and aiohttp won't complain. Therefore, scheduling a task to create the session is redundant.
2020-12-19Bot: cease support of Bot.clear()Gravatar MarkKoz-51/+28
Supporting the function means supporting re-use of a closed Bot. However, this functionality is not relied upon by anything nor will it ever be in the foreseeable future. Support of it required scheduling any needed startup coroutines as tasks. This made augmenting the Bot clunky and didn't make it easy to wait for startup coroutines to complete before logging in.
2020-12-19APIClient: remove obsolete functionGravatar MarkKoz-14/+0
2020-12-19APIClient: simplify session creationGravatar MarkKoz-39/+10
Making the class-reusable is not worth the added complexity.