aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/evergreen/fun.py
diff options
context:
space:
mode:
authorGravatar S. Co1 <[email protected]>2019-09-26 22:16:09 -0400
committerGravatar S. Co1 <[email protected]>2019-09-26 22:16:09 -0400
commit765ecab67994b533e1779e59dedfb82d6659cb40 (patch)
tree71f48e709b77a23c156e6e2e29967dc5c199d173 /bot/seasons/evergreen/fun.py
parentMerge pull request #271 from python-discord/text-modify-embeds (diff)
Update flake8-annotation pin & relint
Diffstat (limited to 'bot/seasons/evergreen/fun.py')
-rw-r--r--bot/seasons/evergreen/fun.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/fun.py b/bot/seasons/evergreen/fun.py
index 4a96743f..889ae079 100644
--- a/bot/seasons/evergreen/fun.py
+++ b/bot/seasons/evergreen/fun.py
@@ -72,7 +72,7 @@ class Fun(Cog):
Also accepts a valid discord Message ID or link.
"""
- def conversion_func(text):
+ def conversion_func(text: str) -> str:
"""Randomly converts the casing of a given string."""
return "".join(
char.upper() if round(random.random()) else char.lower() for char in text