kevinjycui / Practice-Bot

The all-purpose competitive programming Discord bot! Discord to online judge integration. AtCoder/CodeChef/Codeforces/CSES/DMOJ/Leetcode/Szkopuł/TopCoder/WCIPEG
https://discord.com/api/oauth2/authorize?client_id=691416325557452861&permissions=402779152&scope=bot
GNU General Public License v3.0
50 stars 13 forks source link

Announce Contest Notifications at Contest Begin Time #11

Open kevinjycui opened 4 years ago

kevinjycui commented 4 years ago

Right now contests are announced when a contest is posted, regardless of when it starts. Contests should also be announced ~20 minutes before they start in contest notifications.

orendon commented 3 years ago

I like this idea, what do you think about announcing 24 hours before the contest so people get enough time for registration?

I can implement this unless you are already working on it @kevinjycui In such case, any thoughts/guidance/ideas before I implement it?

kevinjycui commented 3 years ago

I like this idea, what do you think about announcing 24 hours before the contest so people get enough time for registration?

I can implement this unless you are already working on it @kevinjycui In such case, any thoughts/guidance/ideas before I implement it?

I'm not working on this at the moment so this could be something to implement. You can see that the bot gets all new contests (i.e. contests that have just been posted) here. We'd just need to go through the contests and look for ones that are upcoming as well (and then mark them so that it only sends the notification one more time) to add to the new contests (with maybe some way to indicate that the notification is due to the contest coming up soon).

Although usually contests from Codeforces or DMOJ get announced pretty much right before registration opens, which is why I have not prioritised this issue.

orendon commented 3 years ago

I've seen some contests on AtCoder and LeetCode being announced 28 days and 15 days before the actual contest, so this might be handy.

Maybe 24 hours before the contest is a good default?

Hex1729 commented 3 years ago

Agreed, or maybe customized reminders for versatility?