Skip to content

Add a timer that tracks how long it takes for someone to mention "ChatGPT" or "Mojo" in #python-general #1271

@ghost

Description

Description

On Pygen, we love to joke about how often ChatGPT and Mojo come up in conversation. In fact, we've even started keeping track of how long we can go without mentioning them!
My suggestion is to add a timer to track how long we can last without mentioning them. The timer would let us know when someone finally brings them up again, and it would announce the new record for the longest time Pygen has gone without them coming up on the conversation.

Reasoning

The addition of a timer to track how long we can go without mentioning ChatGPT and Mojo would be a fun and engaging activity for the Pygen community. It would allow us to approach conversations in a lighthearted and humorous way, and I think it would add a great deal of entertainment to the community's interactions.

Proposed Implementation

The bot will initialize by fetching the current datetime and storing it. When a user mentions "ChatGPT" or "Mojo", the bot will retrieve the new datetime and calculate the timedelta between it and the stored datetime.

The bot will compare this timedelta with the current record. If it's larger than the current record, the bot will announce the new record and store it. If it's not larger, the bot will use the new datetime as the reference point for future comparisons without making an announcement.

Additional Details

🔹 To prevent inconvenience, the feature will make minimal announcements without pinging anyone and delete messages after 5 minutes.

🔹 To avoid spam, announcements will have a 1-hour cooldown. The bot will still store new records, but skip announcement messages.

Would you like to implement this yourself?

  • I'd like to implement this feature myself
  • Anyone can implement this feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: planningDiscussing detailstype: featureRelating to the functionality of the application.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions