Fix incorrect typehint

pull/129/head
stijndcl 2022-08-29 20:50:51 +02:00
parent 73d44de46e
commit c4ef5cd619
1 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@ import discord
from overrides import overrides from overrides import overrides
from database.constants import WORDLE_GUESS_COUNT, WORDLE_WORD_LENGTH from database.constants import WORDLE_GUESS_COUNT, WORDLE_WORD_LENGTH
from database.schemas import WordleGuess
from didier.data.embeds.base import EmbedBaseModel from didier.data.embeds.base import EmbedBaseModel
from didier.utils.types.datetime import int_to_weekday, tz_aware_now from didier.utils.types.datetime import int_to_weekday, tz_aware_now
@ -31,7 +30,7 @@ class WordleColour(enum.IntEnum):
class WordleEmbed(EmbedBaseModel): class WordleEmbed(EmbedBaseModel):
"""Embed for a Wordle game""" """Embed for a Wordle game"""
guesses: list[WordleGuess] guesses: list[str]
word: str word: str
def _letter_colour(self, guess: str, index: int) -> WordleColour: def _letter_colour(self, guess: str, index: int) -> WordleColour: