sir-lancebot
sir-lancebot copied to clipboard
Add Python Challenge Command
Allow users to use a command like !challenge
and it would send a python question (Basic or Advanced) and users can try and solve it, and they can test their solution. If thy get it correct, they get a point, and there can be a weekly/monthly leaderboard.
Uhh I think there already is a command similar to what you proposed: https://github.com/python-discord/sir-lancebot/blob/main/bot/exts/utilities/challenges.py#L264-L336
@NeilShah2026 is that what you had in mind or was it something different? In any case, a leaderboard was suggested, and that does not seem to be implemented currently so it's open to discussion.
A leaderboard would be difficult to implement on Lance since it doesn't have persistence
(side note: I'm currently working on Sir Robin for an event, and will be implementing a leaderboard for that soon)