dashroshan / coding-contests-companion

💪 Discord bot for coding contests info, notifications, and daily problems from codechef, leetcode, hackerrank, codeforces, atcoder, hackerearth, and geeksforgeeks
MIT License
43 stars 40 forks source link

[GSSOC] add a comment on Problem of the day #49

Closed Vishnu1804K closed 1 year ago

Vishnu1804K commented 1 year ago

Generally, when we are given a problem of the day, we can leave a comment on how to solve the problem, and different users can share their solutions. This can be helpful for beginners who are just starting to learn coding. Can u please assign me under GSSOC'23

Vishnu1804K commented 1 year ago
  1. !problem. When a user sends this command, the bot uses Puppeteer to scrape the website and retrieve the daily problem. The problem is then sent back to the channel using the message.channel.send() method
  2. !solution. When a user sends this command followed by their solution, the bot sends a message thanking the user for sharing their solution
  3. and then we will store the solution in the database and send on the channel
KamalSritha-04 commented 1 year ago

Can you please assign me this issue under GSSOC'23?

dashroshan commented 1 year ago

@vivxsdb Problem of the day is based on LeetCode daily problems and the users can refer to the discussion section there to send and find answers of other users. So building that in this bot feels a bit unnecessary.

What I would be interested in would be to allow the bot to somehow verify if the user solved the daily problem and then send a congratulations message for them to encourage interaction in the server. If you have any ideas, feel feee to open a PR 🚀