aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/fun.py
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2021-09-01 18:32:55 -0700
committerGravatar Xithrius <[email protected]>2021-09-01 18:32:55 -0700
commitf4e5e3850c9a030e0125a908dc5a8dbbcd6659dd (patch)
treeb92170615ddc59ba2571c01030fa9319001d9e93 /bot/exts/evergreen/fun.py
parentFix type annotations (diff)
Union item with None to Optional with item.
Diffstat (limited to 'bot/exts/evergreen/fun.py')
-rw-r--r--bot/exts/evergreen/fun.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/fun.py b/bot/exts/evergreen/fun.py
index 1783d7b4..fd17a691 100644
--- a/bot/exts/evergreen/fun.py
+++ b/bot/exts/evergreen/fun.py
@@ -192,7 +192,7 @@ class Fun(Cog):
Returns a tuple of:
str: If `text` is a valid discord Message, the contents of the message, else `text`.
- Union[Embed, None]: The embed if found in the valid Message, else None
+ Optional[Embed]: The embed if found in the valid Message, else None
"""
embed = None