Open Issues Need Help
View All on GitHub Automation • Bot Development
Prevent Synchronous Running of Draft Command about 2 months ago
AI Summary: Implement a locking mechanism to prevent simultaneous execution of the draft command within a Discord channel. This is to avoid race conditions where multiple users on the same team might draft simultaneously. The solution should involve a channel-wide lock, potentially stored in a JSON file, to ensure only one draft command runs at a time per channel. The lock should be acquired before the draft process begins and released after completion or failure.
Complexity:
4/5
good first issue