aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/coinflip.py
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-09-03 16:28:04 +0100
committerGravatar GitHub <[email protected]>2021-09-03 16:28:04 +0100
commitcd7060835b5b0d150c6e91d75bc3227ee43db0ba (patch)
tree4264ddbb25e86184255574cfd0e8fa9bb11d7bcb /bot/exts/evergreen/coinflip.py
parentHandle status not found with 404 picture (diff)
parentMerge pull request #839 from python-discord/android-codeblock-fix (diff)
Merge branch 'main' into teapot-support
Diffstat (limited to 'bot/exts/evergreen/coinflip.py')
-rw-r--r--bot/exts/evergreen/coinflip.py5
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."""