M

Size: a a a
M
M
M
M
M
M
⟁ᴡ
M
from itertools import chain
@client.on(events.NewMessage(outgoing=True))
async def dice(e):
if '!dice' in e.raw_text:
d = None
wanted_dice = int(e.raw_text.split(" ")[1])
if wanted_dice in chain(range(-1), range(1, 7, 1)):
while d is None or d.media.value != wanted_dice:
if d: await d.delete()
d = await client.send_file(e.chat_id, InputMediaDice(emoticon='🎲'))
M
M
⟁ᴡ
⟁ᴡ
from itertools import chain
res = chain(range(-1), range(1, 7, 1))
for i in res:
print(i, end=" ")
1 2 3 4 5 6
⟁ᴡ
⟁ᴡ
⟁ᴡ
⟁ᴡ
Invalid password
doesn't looks for you as reasonable response?⟁ᴡ
⟁ᴡ
⟁ᴡ