Skip to content

Conversation

@misslame
Copy link
Owner

No description provided.

@misslame misslame added the question Further information is requested label Aug 26, 2022
@app_commands.checks.cooldown(1, COOLDOWN_SECONDS)
async def current_challenge(interaction: discord.Interaction):
check_submission_channel()
if store.__getitem__("submission_channel_id") == 0:
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why repeat this and not put it in to a function? If you make a change somewhere you will have to remember to make a change everywhere else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

question Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants