#View questions hehe

1 messages · Page 1 of 1 (latest)

fleet creek
#

is there a way to check if a view was already loaded?

stuck yew
#

you mean timeout?

steel islandBOT
#

Timeout from last interaction with the UI before no longer accepting input. If None then there is no timeout.

finite mist
#

I think he means the opposite, when the view is shown or not

finite mist
#

So as long as send() is not called yet is_finished is False ?

fleet creek
#

no

#

I mean

#

when you add the view with bot.add_view(...) is there a property that returns a list with all the loaded views?

#

I don't think it exist

stuck yew
#

you mean persistent views?

finite mist
#

Take a look at disnake code

fleet creek
#

ye

finite mist
#

bot.persistent_views

stuck yew
#

yes

steel islandBOT
finite mist
#

and what if they are not persistent

fleet creek
#

I had not seen it lmao