aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
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-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-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
2020-10-02Update !pep 0 commandGravatar Soumitra Shewale-1/+1
2020-10-02Add missing blank line to satisfy the linting godsGravatar Senjan21-0/+1
2020-10-02Remove presence stat tracking.Gravatar Senjan21-35/+2
2020-10-02Remove failing unit testsGravatar Senjan21-78/+0
Testing `information` cog seems redutant as it is not too important part of the bot.
2020-10-02fix line length in bot/exts/info/information.pyGravatar Hedy Li-3/+3
2020-10-02Move PEP command embed URL to titleGravatar Soumitra Shewale-1/+1
Closes #1176
2020-10-02LinterGravatar Soumitra Shewale-1/+2
I had flake8 turned off in my dpy env -_-
2020-10-02Escape markdown in faulty source commandsGravatar Soumitra Shewale-2/+2
Closes #1177
2020-10-01Remove special handling for the alias cog in the !source commandGravatar MarkKoz-15/+3
It's obsolete code because the cog has been removed.
2020-10-01Duck pond: ignore reaction events from other guildsGravatar MarkKoz-2/+8
2020-10-01fix spelling typos in bot/ python filesGravatar Hedy Li-4/+4
2020-09-30Duck pond: ignore reactions in DMsGravatar MarkKoz-0/+7
Also handle the channel not being found, which may be due to a cache issue or because it got deleted. Fixes #1183 Fixes BOT-8T
2020-09-30Remove null chars before posting deleted messagesGravatar MarkKoz-1/+1
Our API doesn't allow null characters in the content field. It may be present because of a self bot that is able to send such character. Fixes #1182 Fixes BOT-8E
2020-09-30Catch 404 in wait_for_deletion when reactingGravatar MarkKoz-1/+5
The message may be deleted before the bot gets a chance to react. Fixes #1181
2020-09-30Remove alias cogGravatar MarkKoz-87/+0
Last few aliases are an anomaly since #1124 was merged. The remaining aliases are seldom used. The code isn't exactly clean and it has some maintenance costs. Resolves #1159
2020-09-30update member status info in `server` commandGravatar Senjan21-7/+6
2020-09-30Remove Custom Status and Status from `create_user_embed`Gravatar Senjan21-32/+0
2020-09-30Add intents setup to the botGravatar Senjan21-1/+9
2020-09-29Deps: bump 'discord.py' to 1.5 & re-lockGravatar kwzrd-18/+9
This also removes a duplicate 'discord' entry from the lockfile.
2020-09-27Incidents: reduce timeout log to info levelGravatar kwzrd-1/+1
This shouldn't be a warning, as we cannot do anything about it. Fixes BOT-8X
2020-09-27Allow !role for any staff roleGravatar Matteo Bertucci-2/+2
Closes #1173
2020-09-27Allow !eval in #code-help-voiceGravatar Matteo Bertucci-1/+3
2020-09-27Verification: apply 'safe_dm' to all DM dispatchesGravatar kwzrd-5/+7
Now, when we send a DM and it fails: * Ignore if due to disabled DMs * Log exception otherwise
2020-09-27Verification: move disabled DM handling into helperGravatar kwzrd-5/+22
Note that we were previously only catching 403. As the docstring explains, we will now catch any Discord exception and only look at the the code, rather than the status.
2020-09-27Relock Pipfile to update async-redis.Gravatar Leon Sandøy-62/+70
This also bumps minor versions of several other packages. I've spun up the bot and played around with it, and run all unit tests. Everything still seems to be in order.