aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ionite34 <[email protected]>2022-07-28 03:42:31 -0400
committerGravatar ionite34 <[email protected]>2022-07-28 03:42:31 -0400
commit0be3332904690730589113b99198f2f3fc2f1091 (patch)
tree0756e869e4e09fc52779bf6e5457dec8012582f8
parentMerge pull request #2224 from python-discord/sid/feature/tags/print-return (diff)
Added `DurationOrExpiry` type union
-rw-r--r--bot/converters.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/converters.py b/bot/converters.py
index 5800ea044..e97a25bdd 100644
--- a/bot/converters.py
+++ b/bot/converters.py
@@ -574,5 +574,6 @@ if t.TYPE_CHECKING:
Infraction = t.Optional[dict] # noqa: F811
Expiry = t.Union[Duration, ISODateTime]
+DurationOrExpiry = t.Union[DurationDelta, ISODateTime]
MemberOrUser = t.Union[discord.Member, discord.User]
UnambiguousMemberOrUser = t.Union[UnambiguousMember, UnambiguousUser]