aboutsummaryrefslogtreecommitdiffstats
path: root/tests/base.py (unfollow)
Commit message (Collapse)AuthorLines
2020-10-04Make AsyncCache key tuple instead stringGravatar ks129-1/+1
2020-10-04Move PEP URLs to class constantsGravatar ks129-7/+6
2020-10-04Rename async cache instancesGravatar ks129-7/+5
2020-09-26Fix lintingGravatar ks129-3/+2
2020-09-26PEP: Split get_pep_embed to smaller partsGravatar ks129-22/+34
2020-09-26Async Cache: Create class-based async cacheGravatar ks129-24/+37
2020-09-25Remove redundant is_valid_userid functionGravatar Bast-33/+27
extract_user_id(id) is not None does the same job and is not worth the extra function
2020-09-24Change the mod alert message component for the user token detectionGravatar Bast-46/+23
Clean up mock usage, docstrings, unnecessarily split-lined function calls
2020-09-24Add BOT vs USER token detection, properly handling bot tokens for bots in ↵Gravatar Bast-13/+47
the current server Also adjust the naming and purposes of the format messages to KNOWN and UNKNOWN token messages.
2020-09-24Implement review-suggested changesGravatar Bast-67/+91
userid -> user ID maybevalid -> maybe_valid remove collections import and added a new function that handles the "format user ID log message" and should_ping_everyone feature
2020-09-23Fix use of expanded infraction response for usernameGravatar MarkKoz-1/+1
Fixes BOT-9A
2020-09-23Incidents: bump archive log to INFO levelGravatar kwzrd-1/+1
2020-09-23Verification: reduce request dispatch log levelGravatar kwzrd-1/+1
Avoid information duplication in production logs.
2020-09-23Update format_user to remove username and add IDGravatar Joe Banks-4/+2
2020-09-22Clean: fix mention in mod log messageGravatar MarkKoz-1/+1
Fixes BOT-99
2020-09-22Avoid using discord.Object's repr as the username for infraction searchGravatar MarkKoz-0/+7
2020-09-22Fix AttributeError for infraction user searches via the groupGravatar MarkKoz-1/+1
2020-09-22Fix future date check in snowflake converterGravatar MarkKoz-1/+1
2020-09-22Filtering: add missing space to log msgGravatar Mark-1/+1
2020-09-22Fix type annotation for expanded infractionsGravatar MarkKoz-2/+1
The `_utils.Infraction` alias does not cover nested data structures. Therefore, it's inappropriate for expanded infraction API responses.
2020-09-22Updated dependencies to match with master and include aioping.Gravatar Xithrius-6/+17
2020-09-22Whitelisted the bot_commands channel and all staff for other channels.Gravatar Xithrius-1/+3
2020-09-21Replacing the round function with a format specifier.Gravatar Xithrius-1/+1
Co-authored-by: Dennis Pham <[email protected]>
2020-09-21Replacing the round function with a format specifier.Gravatar Xithrius-1/+1
Co-authored-by: Dennis Pham <[email protected]>
2020-09-21Replacing the round function with a format specifier.Gravatar Xithrius-1/+1
Co-authored-by: Dennis Pham <[email protected]>
2020-09-21Comment updated from "microseconds" to "seconds"Gravatar Xithrius-1/+1
Co-authored-by: Dennis Pham <[email protected]>
2020-09-21Use `has_any_role` decorator instead of old `with_role` decoratorGravatar Den4200-2/+2
2020-09-21Description renamed to avoid verbosity.Gravatar Xithrius-1/+1
2020-09-21Added period to docstring.Gravatar Xithrius-1/+1