diff options
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/evergreen/coinflip.py | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/bot/exts/evergreen/coinflip.py b/bot/exts/evergreen/coinflip.py index d1762463..7810da89 100644 --- a/bot/exts/evergreen/coinflip.py +++ b/bot/exts/evergreen/coinflip.py @@ -1,5 +1,4 @@  import random -from typing import Tuple  from discord.ext import commands @@ -10,8 +9,8 @@ from bot.constants import Emojis  class CoinSide(commands.Converter):      """Class used to convert the `side` parameter of coinflip command.""" -    HEADS: Tuple[str] = ("h", "head", "heads") -    TAILS: Tuple[str] = ("t", "tail", "tails") +    HEADS: tuple[str, ...] = ("h", "head", "heads") +    TAILS: tuple[str, ...] = ("t", "tail", "tails")      async def convert(self, ctx: commands.Context, side: str) -> str:          """Converts the provided `side` into the corresponding string."""  |