-
Notifications
You must be signed in to change notification settings - Fork 0
Description
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