#this modal and, random

1 messages · Page 1 of 1 (latest)

alpine quest
#

it should be

if modal.children[0].value <= n:
forest junco
#

?

alpine quest
#

because you’re creating a tuple with int class (?) and your modal’s value and comparing it with your random digit

alpine quest
#

you can’t do that

alpine quest
#

because it returning string

#

just convert it to int

forest junco
#

so how to edit

alpine quest
#

int(modal.children[0].value)

forest junco
#

oh?

alpine quest
#

it should work only if you entered a digits

forest junco
#

let me try

alpine quest
#

in modal

forest junco
#

@alpine quest

alpine quest
forest junco
#

?

alpine quest
#

in past i too had edit_message but after updates it gave me errros, i didnt changed anything

alpine quest
#

you can edit a message with it btw

#

so don’t worry

forest junco
#

i not using a webhook

alpine quest
#

sorry, i’m on phone and it’s hard to me to type and explain everything

forest junco
#

no problem

alpine quest
#

you can wait for me when i’ll get on my pc (which will be very long), or wait for others help

forest junco
#

i wait you .u.

alpine quest
wicked maple