JavaBot icon indicating copy to clipboard operation
JavaBot copied to clipboard

Add button to ask question in #how-to-get-help

Open MoonTM-GIT opened this issue 3 years ago • 10 comments

Add an additional button (e.g. Ask question) to #how-to-get-help that opens up a modal where people can ask their question and when that modal is submitted, that question is reposted to a help channel, the help channel is automatically reserved for the question and the user is pinged in the help channel. There should be an ephemeral response to the modal containing the (now reserved) reserved channel. This is intended to be an alternative to our "current" way of reserving help channels.

@danthe1st

MoonTM-GIT avatar Jul 24 '22 15:07 MoonTM-GIT

Are modal fields prefillable?

liquiddevelopmentnet avatar Jul 24 '22 15:07 liquiddevelopmentnet

yes

jasonlessenich avatar Jul 24 '22 15:07 jasonlessenich

What about opening a modal (the same for the button in how to get help) for when a user tries to send a message in one of the available help channels, prefill the message field.

With that following things could be realized:

  • More detailed description
  • Tags or Topics

Just an idea

liquiddevelopmentnet avatar Jul 24 '22 15:07 liquiddevelopmentnet

I don't like that tbh, I think reserving help channels should be as easy and simple as possible

MoonTM-GIT avatar Jul 24 '22 15:07 MoonTM-GIT

Yeah you're probably right.

liquiddevelopmentnet avatar Jul 24 '22 15:07 liquiddevelopmentnet

How do you do these one time sent messages anyways? Like the message in #how-to-get-help

liquiddevelopmentnet avatar Jul 24 '22 19:07 liquiddevelopmentnet

Wdym?

MoonTM-GIT avatar Jul 24 '22 19:07 MoonTM-GIT

The bot sends the message in the channel with the button. But how? Like per command or how is the bot doing it.

liquiddevelopmentnet avatar Jul 24 '22 19:07 liquiddevelopmentnet

Can you send a picture of what you mean?

MoonTM-GIT avatar Jul 24 '22 19:07 MoonTM-GIT

-- conversation was continued in discord --

liquiddevelopmentnet avatar Jul 24 '22 19:07 liquiddevelopmentnet