aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2020-10-15Snekbox: raise paste character lengthGravatar MarkKoz-1/+1
It doesn't make sense for it to be at 1000 when the code gets truncated to 1000 as well. Fixes #1239
2020-10-14Code block: fix _fix_indentation failing for line counts of 1Gravatar MarkKoz-0/+4
This could be reproduced by editing a tracked message to a single line of invalid Python that lacks any back ticks. The code was assuming there would be multiple lines because that's what the default value for the threshold is, but this threshold is not applied to edited messages. Fixes BOT-A5
2020-10-14Utils: clarify why has_lines counts by splitting by newlinesGravatar MarkKoz-0/+1
2020-10-13Remove trailing whitespace from verification.pyGravatar Joe Banks-1/+1
2020-10-13Fix channel constantGravatar Joe Banks-1/+1
2020-10-13Add production debug log for native verificationGravatar Joe Banks-0/+10
2020-10-13Fixed hardcoded prefix in __main__.pyGravatar spitfire-hash-1/+1
2020-10-11Add Metricity DB URL to site (docker-compose.yml)Gravatar ks129-0/+1
2020-10-10Duckpond: Add a list of already ducked messagesGravatar Matteo Bertucci-1/+3
Previously race conditions caused the messages to be processed again before knowing the white check mark reaction got added, this seems to solve it
2020-10-08Fix millisecond time for command processing timeGravatar Gustav Odinger-1/+1
- For the `.ping` command - Fixes a faulty convertion from seconds to milliseconds
2020-10-08Update bot/exts/moderation/infraction/infractions.pyGravatar scragly-1/+1
Co-authored-by: Dennis Pham <[email protected]>
2020-10-08update documentationGravatar RohanJnr-1/+14
2020-10-08remove redundant if statementGravatar RohanJnr-1/+1
2020-10-08remove redundant if statementGravatar RohanJnr-2/+1
2020-10-07made sure to use sub_clyde on username passed to send_attachmentsGravatar wookie184-1/+2
2020-10-07Refactor tests to use updated changes to syncer.py and API.Gravatar RohanJnr-58/+59
2020-10-07improve code efficiency and use updated API changes to paginationGravatar RohanJnr-98/+48
2020-10-07Add the ability to purge and ban in one command.Gravatar scragly-2/+26
2020-10-06Include rolled over logs in gitignoreGravatar Numerlor-0/+1
RotatingFileHandler appends .# to log names when rolling over to a new file.
2020-10-06Fix old nick in superstarify reasonGravatar Boris Muratov-2/+3
2020-10-05Code block: support the "pycon" language specifierGravatar MarkKoz-1/+1
It's used for code copied from the Python REPL.
2020-10-06Use .get() instead of index for fetching is_pending propertyGravatar Joe Banks-1/+1
2020-10-06Correct raw_member to member in verification on_joinGravatar Joe Banks-1/+1
2020-10-06Reword on_join comment for alternate gate membersGravatar Joe Banks-1/+4
2020-10-06Clear up comment around DM sendGravatar Joe Banks-0/+4
2020-10-06Reword cache creation commentGravatar Joe Banks-1/+1
2020-10-06Use clearer variable names in list comprehensionsGravatar Joe Banks-2/+2
2020-10-06Merge get and pop into one conditionalGravatar Joe Banks-3/+1
2020-10-06Add type annotation to on_member_update listenerGravatar Joe Banks-1/+1
2020-10-06Support users with alternate gating methodsGravatar Joe Banks-0/+42
2020-10-04Sort rules before determining invalid indices.Gravatar Den4200-14/+5
This is to avoid sorting twice - once for invalid indices and again for send the rules.
2020-10-03Use `url` argument instead of setting it outside.Gravatar Den4200-2/+1
2020-10-03Use `Greedy` converter instead of the splat operator.Gravatar Den4200-2/+2
2020-10-03Remove duplicates from given rule indices and sort them in order.Gravatar Den4200-4/+11
2020-10-03Replace `map` with a more pythonic list comprehension.Gravatar Den4200-1/+1
2020-10-03Use invite for tracking offline presences instead of `ctx`Gravatar Senjan21-2/+2
2020-10-03Add trailing comma to intentsGravatar Senjan21-1/+1
2020-10-03Lock: make LockGuard.locked a propertyGravatar MarkKoz-1/+2
2020-10-03Lock: rename variable to avoid shadowingGravatar MarkKoz-3/+3
2020-10-03add missing test for `user` commandGravatar Senjan21-0/+5
2020-10-03Cap most_common to 25 to not go over the embed fields limitGravatar Joe Banks-1/+1
2020-10-03Add a socket stats commandGravatar Joe Banks-5/+37
2020-10-02Changed dm_relay to include user id in webhook when sending attachments.Gravatar wookie184-1/+5
2020-10-02 Add use_cached argument to send_attachments, and change it to default to FalseGravatar wookie184-1/+2
2020-10-02Changed send_attachments so kwargs could be given and would be passed to send()Gravatar wookie184-14/+13
2020-10-02remove un-used variableGravatar RohanJnr-1/+0
2020-10-02Refactor unit tests UserSyncerSyncTests to use changes made to UserSyncer in ↵Gravatar RohanJnr-7/+5
_syncers.py
2020-10-02update UserSyncerDiffTests Tests to use changes made to API calls.Gravatar RohanJnr-6/+32
2020-10-02Reminder: no feedback message when no mentionGravatar Matteo Bertucci-4/+5
2020-10-02Get rid of codeblock in souce commitGravatar Soumitra Shewale-2/+3
Double backtick will break if argument contains a double backtick, so getting rid of the codeblock itself makes more sense in my opionion. Also fix the style issue with multiline string by storing the escaped arg in another variable