A royal flush with a bug as the queen of hearts
A bug in poker is a limited form of wild 2️⃣ card. One or both jokers are often added to the deck and played as bugs.
In draw poker played for high 2️⃣ and pai gow poker, the bug is considered to be an ace, unless it can be used as a missing 2️⃣ card to complete a straight or a flush, in which case it becomes the highest[1] card which can complete the 2️⃣ hand.
K-K-Joker-5-2 is a pair of kings with an ace kicker.
is a pair of kings with an ace kicker. A-A-Joker-9-4 is 2️⃣ three aces.