datacurve-ai / codeforces-discord-bot

A Discord bot middleman for interacting with Codeforces
0 stars 4 forks source link

[Original] Feat: Implement contest tournament #5

Open AhmedMohamedAbdelaty opened 1 month ago

AhmedMohamedAbdelaty commented 1 month ago

Closes #3

Feature: Random Contest Suggestion Command

Implemented a new command that suggests a random contest of a specified type (like Div 1, 2, 3, etc.) for users. The contest will be one that none of the given usernames have participated in before.

After the virtual contest ends, the bot will send the participants' ranks along with details like:

Example command: /random-contest usernames: _AhmedMohamed_, Shayan contest_type: div3 start_time: 2024-09-16 07:37:00 +03:00

The bot can handle multiple time zones correctly. The user can also confirm or cancel the command using buttons.

image image image