sir-lancebot icon indicating copy to clipboard operation
sir-lancebot copied to clipboard

Add Python Challenge Command

Open NeilShah2026 opened this issue 2 years ago • 3 comments

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.

NeilShah2026 avatar Jun 02 '22 00:06 NeilShah2026

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

DMFriends avatar Jun 02 '22 00:06 DMFriends

@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.

MarkKoz avatar Jun 02 '22 08:06 MarkKoz

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)

ShakyaMajumdar avatar Jun 02 '22 10:06 ShakyaMajumdar