diff options
author | 2022-10-20 09:06:30 +0100 | |
---|---|---|
committer | 2022-10-20 09:06:30 +0100 | |
commit | 5556a604ab9211b72aec2d8b99b8169f47b01380 (patch) | |
tree | a8bd5c01d370ce9e54f8045cb73c0398f0ddd020 | |
parent | apply style guidelines to signature (diff) |
remove int from search_value's type union
-rw-r--r-- | bot/exts/utils/utils.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bot/exts/utils/utils.py b/bot/exts/utils/utils.py index 34ac8276d..9fe3b46e4 100644 --- a/bot/exts/utils/utils.py +++ b/bot/exts/utils/utils.py @@ -1,7 +1,7 @@ import difflib import re import unicodedata -from typing import Tuple, Union +from typing import Tuple from discord import Colour, Embed, utils from discord.ext.commands import BadArgument, Cog, Context, clean_content, command, has_any_role @@ -87,11 +87,11 @@ class Utils(Cog): @command() async def zen( - self, - ctx: Context, - zen_rule_index: int | None, - *, - search_value: Union[int, str, None] = None + self, + ctx: Context, + zen_rule_index: int | None, + *, + search_value: str | None = None ) -> None: """ Show the Zen of Python. |