From 374632bbc67e3265a7dee957c14467ec3b13e4eb Mon Sep 17 00:00:00 2001 From: alwayscompiling Date: Wed, 20 Jul 2022 20:58:17 -0400 Subject: [PATCH] Removing TODOs. --- cogs/message_listener/__init__.py | 5 ++--- cogs/submission/submission_views.py | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cogs/message_listener/__init__.py b/cogs/message_listener/__init__.py index b071eb7..da7d7d3 100644 --- a/cogs/message_listener/__init__.py +++ b/cogs/message_listener/__init__.py @@ -26,14 +26,13 @@ class SubmissionListener(commands.Cog, name="Message Listener"): highscores_data["submission_channel_id"] ).fetch_message(message_id) - # TODO only want to do things when on certain steps - # want to regex score to ensure it is correct. here is also where score can be standardized in look + # TODO want to regex score to ensure it is correct. + # # here is also where score can be standardized in look # need check if correct user and correct channel if message.channel.id == highscores_data["submission_channel_id"]: state = submission_objects[message.author.id]["submission_state"] if state == SubmissionState.SCORE and message.content: - # TODO add score format verification submission_objects[message.author.id]["score"] = message.content embed = get_submission_embed(message.author.id) await submission_message.edit( diff --git a/cogs/submission/submission_views.py b/cogs/submission/submission_views.py index 57732b8..301a2e9 100644 --- a/cogs/submission/submission_views.py +++ b/cogs/submission/submission_views.py @@ -119,7 +119,6 @@ class NextButton(nextcord.ui.Button): super().__init__(label="Next", style=nextcord.ButtonStyle.primary, custom_id="next") self._bot = bot - # TODO verify proper information has been gathered async def callback(self, interaction: nextcord.Interaction): # check if fields have been filled out for each state state: SubmissionState = submission_objects[interaction.user.id]["submission_state"]