index
:
bot
copilot/update-pytest-and-fix-tests
dependabot/uv/pytest-9.0.0
fix-eval-message-limit
fix/modpings
inject-settings-in-bot-core
main
mbaruh/fix-modpings-schedule
mbaruh/modlog_fix
pastebin-auto-upload
wookie/lower-warning-to-info
wookie184/fix-mentions-reply-resolving
A mirrored copy of the python-discord/bot repository.
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
tests
/
helpers.py
(
unfollow
)
Commit message (
Expand
)
Author
Lines
2019-12-11
Clean: allow amount argument to be skipped
Mark
-4
/
+4
2019-12-11
Clean: support specifying a channel different than the context's
MarkKoz
-13
/
+18
2019-12-11
Clean: un-hide from help and add purge alias
MarkKoz
-1
/
+1
2019-12-09
Ensure hidden_channels and bypass_roles use a list when not passed.
Manuel Ignacio Pérez Alcolea
-0
/
+3
2019-12-05
Added optional channel parameter to !echo:
Daniel Brown
-4
/
+7
2019-12-03
Antimalware: fix paste service URL showing replacement field
MarkKoz
-1
/
+1
2019-12-04
Renamed function and improved its docstring to better reflect its purposes.
Shirayuki Nekomata
-16
/
+9
2019-12-03
Deleted `get_duration` and switched to using the already, nicely made `humani...
Shirayuki Nekomata
-48
/
+8
2019-12-03
Removed pytest, getting ready to migrate to unittest in another PR
Shirayuki Nekomata
-44
/
+0
2019-12-01
Allow snekbox in esoteric-python channel
MarkKoz
-4
/
+15
2019-11-30
Update bot/cogs/moderation/modlog.py
Leon Sandøy
-1
/
+1
2019-11-27
Apply review comments to duckpond's unit tests
Sebastiaan Zeeff
-72
/
+128
2019-11-27
Move duckpond payload emoji check to method to create testable unit
Sebastiaan Zeeff
-6
/
+14
2019-11-27
Updated test cases for `parts: Optional[int]`
Shirayuki Nekomata
-23
/
+32
2019-11-27
Updated docstrings, allow passing `parts: Optional[int] = 2` to helper functi...
Shirayuki Nekomata
-6
/
+14
2019-11-27
Updated test cases for `get_duration_from_expiry()`
Shirayuki Nekomata
-8
/
+9
2019-11-27
Refactored `scheduler.py` to use the new `get_duration_from_expiry()`
Shirayuki Nekomata
-10
/
+4
2019-11-27
Refactored `management.py` to use the new `get_duration_from_expiry()`
Shirayuki Nekomata
-5
/
+4
2019-11-27
Changed `get_duration_from_expiry()` to return the `time (duration)` or a `''`
Shirayuki Nekomata
-2
/
+11
2019-11-27
Added duration until expiration for infraction searching.
Shirayuki Nekomata
-2
/
+5
2019-11-27
Fixed "14 minutes, 60 seconds" by rounding `.total_seconds()` in `bot.utils.t...
Shirayuki Nekomata
-0
/
+1
2019-11-27
Added expiry duration when applying infraction ( including in the embed sent ...
Shirayuki Nekomata
-3
/
+6
2019-11-27
Updated `bot.utils.time.get_duration_from_expiry()` to accept an optional `da...
Shirayuki Nekomata
-2
/
+2
2019-11-27
Added test for `get_duration_from_expiry()`
Shirayuki Nekomata
-0
/
+17
2019-11-27
Fixed TypeError raised by substracting offset-naive and offset-aware datetime...
Shirayuki Nekomata
-1
/
+1
2019-11-27
Implemented `get_duration_from_expiry()` which call `get_duration()` for `exp...
Shirayuki Nekomata
-0
/
+18
2019-11-27
Added pytest for `get_duration()`
Shirayuki Nekomata
-0
/
+17
2019-11-27
Implemented `get_duration()` for `bot.utils.time`
Shirayuki Nekomata
-1
/
+35
2019-11-25
Make requested tweaks: Use URL constant from constants.py, re-add try/except ...
Deniz
-15
/
+17
2019-11-25
Update PASTE_URL constant to be pydis instead of pythondiscord
Deniz
-1
/
+1
2019-11-25
Change order of imports
Deniz
-1
/
+1
2019-11-25
Forgot the word 'hey'
Deniz
-1
/
+1
2019-11-25
Update antimalware.py to be more consistent with other information messages (...
Deniz
-24
/
+20
2019-11-19
Relock to d.py 1.2.5 due to API breaking change for emoji.
scragly
-80
/
+95
2019-11-16
Apply suggestions from code review
Sebastiaan Zeeff
-4
/
+3
2019-11-16
Renamed variables to be more explicit, added type hinting for `content_before...
Shirayuki Nekomata
-24
/
+24
2019-11-15
group and order constants
Numerlor
-3
/
+5
2019-11-15
Add variable info after comment was deleted
Numerlor
-1
/
+1
2019-11-15
join extra newline
Numerlor
-2
/
+1
2019-11-15
Add unit tests with full coverage for `bot.cogs.duck_pond`
Sebastiaan Zeeff
-159
/
+490
2019-11-15
Add MockAsyncWebhook to mock `discord.Webhook` objects
Sebastiaan Zeeff
-0
/
+21
2019-11-15
Adjust MockReaction for new AsyncIteratorMock protocol
Sebastiaan Zeeff
-3
/
+1
2019-11-15
Add MockUser to mock `discord.User` objects
Sebastiaan Zeeff
-0
/
+19
2019-11-15
Add `return_value` support and assertions to AsyncIteratorMock
Sebastiaan Zeeff
-4
/
+54
2019-11-15
Move payload checks to start of DuckPond.on_raw_reaction_add
Sebastiaan Zeeff
-7
/
+7
2019-11-15
Refactor DuckPond msg relay to separate method
Sebastiaan Zeeff
-29
/
+33
2019-11-15
Check only for bot's green checkmark in DuckPond
Sebastiaan Zeeff
-4
/
+5
2019-11-14
Add MockAttachment type and attachments default for MockMessage
Sebastiaan Zeeff
-1
/
+16
2019-11-14
Add bot=False default value to MockMember
Sebastiaan Zeeff
-1
/
+1
2019-11-14
Condensed logic, now only check for `add` `remove` `same` diff_type only.
Shirayuki Nekomata
-8
/
+6
[next]