Skip to content

Feature: Live Emojis  #43

@mster

Description

@mster

PROPOSAL:
Allow users to post a live emoji that switches between two or more states via editing the original message. This would give the illusion of animation similar to a GIF switching between frames.

EXAMPLE:
😈 -> 👿 -> 😈 -> 👿 -> etc.

CONSIDERATIONS:
Having the bot do this for EVERY live emoji FOREVER is expensive and dumb, since eventually messages get lost in the fray. Have the bot switch the emoji's state for a maximum amount of times, say 1000 iterations.

One would need to track the original message ID, the current iteration, the maximum iterations, the sequence of "frames", and the current index in the sequence. You could probably get away from storing an index by calculating on the fly using the modulus operator i.e. current_iter % sequence.size

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions