alan-turing-institute / reginald

Reginald repository for REG Hack Week 23
3 stars 0 forks source link

Send different emoji depending on what place it is in the queue #99

Open rchan26 opened 11 months ago

rchan26 commented 11 months ago

We currently send a clock emoji whenever something is in the queue. A nice thing would to have is to notify the user where they are in the queue. Idea from @rwood-97 is that there are many clock emojis: 🕐, 🕑, 🕒, ..., 🕚, 🕛 which we can use to specify where the message is in the queue.

rwood-97 commented 11 months ago

Steps we would need for this:

Option 1:

  1. Emoji with initial place in queue e.g. i=3, f"clock{i}", 🕒
  2. When it moves to second in queue, i=2, remove "clock{i+1}" 🕒 and add "clock{i}" 🕑
  3. etc until llama emoji

Option 2:

  1. Emoji with initial place in queue e.g. i=3, f"clock{i}", 🕒 and store i
  2. Only when it moves to first in queue, remove "clock{i}" 🕒 and add llama