diff options
| author | 2021-09-03 00:31:12 -0700 | |
|---|---|---|
| committer | 2021-09-03 00:31:12 -0700 | |
| commit | ea47bc617e558929bcee39e6008a57d6dd814aa1 (patch) | |
| tree | c40e2f23e55119fb33f83271d227103cb9be7c6f /bot/exts/evergreen/coinflip.py | |
| parent | Improved consistency for codeblocks to end with a newline (diff) | |
| parent | Merge pull request #802 from python-discord/decorator-factory/typehints-fix (diff) | |
Merge branch 'main' into android-codeblock-fix
Diffstat (limited to 'bot/exts/evergreen/coinflip.py')
| -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..804306bd 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 = ("h", "head", "heads") + TAILS = ("t", "tail", "tails") async def convert(self, ctx: commands.Context, side: str) -> str: """Converts the provided `side` into the corresponding string.""" |