aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2020-04-03(Utils, discord.py 1.3.x Migrations): Replaced `help` command getting with ↵Gravatar ks129-1/+1
`ctx.send_help`.
2020-04-03(Snekbox, discord.py 1.3.x Migrations): Replaced `help` command getting with ↵Gravatar ks129-1/+1
`ctx.send_help`.
2020-04-03(Site, discord.py 1.3.x Migrations): Replaced `help` command getting with ↵Gravatar ks129-1/+1
`ctx.send_help`.
2020-04-03(Reminders, discord.py 1.3.x Migrations): Replaced `ctx.invoke` with direct ↵Gravatar ks129-2/+2
command calling, replaced `help` command getting with `ctx.send_help`.
2020-04-03(Reddit, discord.py 1.3.x Migrations): Replaced `help` command getting with ↵Gravatar ks129-1/+1
`ctx.send_help`.
2020-04-03(Off-Topic Names, discord.py 1.3.x Migrations): Replaced `help` command ↵Gravatar ks129-1/+1
getting with `ctx.send_help`.
2020-04-03(Extensions, discord.py 1.3.x Migrations): Replaced `help` command getting ↵Gravatar ks129-4/+4
with `ctx.send_help`.
2020-04-03(Eval, discord.py 1.3.x Migrations): Replaced `help` command getting with ↵Gravatar ks129-1/+1
`ctx.send_help`.
2020-04-03(Docs, discord.py 1.3.x Migrations): Replaced `ctx.invoke` with direct ↵Gravatar ks129-1/+1
calling command.
2020-04-03(Sync Cog Tests, discord.py 1.3.x Migrations): Removed `.callback` from ↵Gravatar ks129-2/+2
commands calling.
2020-04-03(Silence Tests, discord.py 1.3.x Migrations): Removed `.callback` from ↵Gravatar ks129-2/+2
commands calling.
2020-04-03(Snekbox Tests, discord.py 1.3.x Migrations): Removed `.callback` from ↵Gravatar ks129-4/+4
commands calling.
2020-04-03(Information Tests): Replaced `asyncio.run` with `await` in `UserCommandTests`.Gravatar ks129-7/+6
2020-04-03(Information Tests): Replaced `asyncio.run` with `await` in `UserEmbedTests`.Gravatar ks129-8/+8
2020-04-03(Information Tests): Replaced `asyncio.run` with `await` in ↵Gravatar ks129-2/+2
`UserInfractionHelperMethodTests.`
2020-04-03(Information Tests, discord.py 1.3.x Migration): Fixed `InformationCogTests` ↵Gravatar ks129-3/+3
command calls.
2020-04-03(Information Tests, discord.py 1.3.x Migration): In `InformationCogTests`, ↵Gravatar ks129-8/+3
replaced `.callback` calls with direct command awaits.
2020-04-03(Information Tests, discord.py 1.3.x Migration): Moved from ↵Gravatar ks129-25/+29
`unittest.TestCase` to `unittest.IsolatedAsyncTestCase` rest of test case classes.
2020-04-03(Information Tests, discord.py 1.3.x Migration): Moved from ↵Gravatar ks129-4/+4
`unittest.TestCase` to `unittest.IsolatedAsyncTestCase` in `InformationCogTests`.
2020-04-03(Bot Cog, discord.py 1.3.x Migration): Replaced `ctx.invoke` with ↵Gravatar ks129-1/+1
`ctx.send_help`.
2020-04-03(Tags, discord.py 1.3.x Migration): Replaced with direct function call.Gravatar ks129-1/+1
2020-04-02(Snekbox Fix, discord.py 1.3.x Migration): Applied one reaction clear to tests.Gravatar ks123-2/+2
2020-04-02(Reddit, discord.py 1.3.x Migration): Replaced `asyncio.sleep` with ↵Gravatar ks123-3/+4
`discord.utils.sleep_until`
2020-04-02(Off-Topic Names, discord.py 1.3.x Migration): Replaced `asyncio.sleep` with ↵Gravatar ks123-3/+2
`discord.utils.sleep_until`.
2020-04-02(Patches, discord.py 1.3.x Migration): Removed patches due not longer necessary.Gravatar ks123-43/+0
2020-04-02(Snekbox, discord.py 1.3.x Migration): Replaced message full reaction clear ↵Gravatar ks123-2/+2
with only reeval emoji clear.
2020-04-02(Aliases, discord.py 1.3.x Migration): Replaced `ctx.invoke` with direct ↵Gravatar ks123-1/+1
awaiting command.
2020-04-01Add TCD to whitelistGravatar Leon Sandøy-0/+1
The Coding Den is a language agnostic community that's been around for years with over 12000 members. I think we can allow that invite in our community.
2020-03-31(Infraction Edit): Changed already expired and no reason provided sentence.Gravatar Karlis S-3/+1
Co-Authored-By: Mark <[email protected]>
2020-03-31(Infraction Edit): Don't change infraction when user try modify duration of ↵Gravatar ks123-0/+5
infraction that is already expired and reason not specified.
2020-03-31(Tags): Removed unnecessary `send_embed_with_trashcan` function due using ↵Gravatar ks123-23/+1
existing function.
2020-03-31(Tags): Moved to existing `wait_for_deletion` function instead using ↵Gravatar ks123-5/+17
custom/new one.
2020-03-31(Tags): Added blank line between check function and `try:` block on ↵Gravatar ks123-0/+1
`send_embed_with_trashcan` function.
2020-03-31(Tags): Fixed `TimeoutError` shadowing with `asyncio.TimeoutError`.Gravatar ks123-2/+2
2020-03-31(Tags): Modified helper function `handle_trashcan_react` to ↵Gravatar ks123-7/+6
`send_embed_with_trashcan`, applied to docstring and to command.
2020-03-30Set unsilence permissions to inherit instead of trueGravatar Sebastiaan Zeeff-2/+2
The "unsilence" action of the silence/hush command used `send_messages=True` when unsilencing a hushed channel. This had the side effect of also enabling send messages permissions for those with the Muted rule, as an explicit True permission apparently overwrites an explicit False permission, even if the latter was set for a higher top-role. The solution is to revert back to the `Inherit` permission by assigning `None`. This is what we normally use when Developers are allowed to send messages to a channel.
2020-03-30(Tags): Fixed trashcan handling check.Gravatar ks123-2/+2
2020-03-30(Tags): Added trashcan handling to `!tags get` command.Gravatar ks123-2/+4
2020-03-30(Tags): Added helper function `handle_trashcan_react` for tag response ↵Gravatar ks123-1/+21
deletion handling.
2020-03-29(Infraction Edit): Don't let change expiration when infraction already expired.Gravatar Karlis S-1/+3
2020-03-29(PEP Command): Fixed comment about PEP 0 separately handling.Gravatar ks123-2/+1
2020-03-29(PEP Command): Moved PEP 0 information to hard-coded strings from constants, ↵Gravatar ks123-18/+14
moved PEP 0 sending to function.
2020-03-29(PEP Command): Moved icon URL to constant instead hard-coded string.Gravatar ks123-2/+4
2020-03-28Increase syncer logging levelGravatar S. Co1-1/+1
2020-03-28(Webhook Detection): Fixed grouping of regex, alert message content, ↵Gravatar Karlis S-9/+9
docstrings, string formatting and URL hiding to show in logs. Co-Authored-By: Mark <[email protected]>
2020-03-28Use debug log level instead of warning in `post_user`Gravatar MarkKoz-1/+1
2020-03-28(PEP Command): Fixed comment of explanation of PEP 0 different processing.Gravatar ks123-1/+2
2020-03-28(Webhook Detection): Renamed `url` variable to `redacted_url` to avoid ↵Gravatar ks123-2/+2
confusion in `delete_and_respond` function.
2020-03-28(Webhook Detection): Fixed docstrings.Gravatar ks123-2/+2
2020-03-28(Webhook Detection): Removed unnecessary URL hiding in `delete_and_respond`.Gravatar ks123-5/+0