diff options
| author | 2022-07-28 03:42:31 -0400 | |
|---|---|---|
| committer | 2022-07-28 03:42:31 -0400 | |
| commit | 0be3332904690730589113b99198f2f3fc2f1091 (patch) | |
| tree | 0756e869e4e09fc52779bf6e5457dec8012582f8 | |
| parent | Merge pull request #2224 from python-discord/sid/feature/tags/print-return (diff) | |
Added `DurationOrExpiry` type union
| -rw-r--r-- | bot/converters.py | 1 |
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] |