Aiscript text input for dialogue #16667
-
SummaryMk:confirm and Mk:dialog let you confirm things. There are times when you want a simple popup with some text and it takes in a string and returns that. The implementation could be similar to how its counterpart works in javascript https://developer.mozilla.org/en-US/docs/Web/API/Window/prompt PurposeThis would allow plugin developers to prompt extra information from a user when needed instead of asking them to go to their plugin settings and put something in. Its far more convenient. Do you want to implement this feature yourself?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
This can be done with https://misskey-hub.net/en/docs/for-developers/aiscript/#readlinemessage |
Beta Was this translation helpful? Give feedback.
This can be done with
readlinefunction, as it launches prompt-like dialog and wait for user inputhttps://misskey-hub.net/en/docs/for-developers/aiscript/#readlinemessage