Removing TODOs.

This commit is contained in:
alwayscompiling
2022-07-20 20:58:17 -04:00
parent 8a36c9dac9
commit 374632bbc6
2 changed files with 2 additions and 4 deletions
+2 -3
View File
@@ -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(
-1
View File
@@ -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"]