Removing TODOs.
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user