Skip to content

/modmail modal support #645

@Zabuzard

Description

@Zabuzard

Overview

Right now, our /modmail command is a simple slash-command. Messages are entered within the command as argument:

example

This works well, but is suboptimal. A better UX would be achieved by using modals. Similar to this:

modal

One would simply use the command /modmail, without arguments, and it would popup a modal with options to input all the 3 arguments:

  • the message to forward
  • which server to contact
  • anonymous yes/no

(unsure whether one can add the latter two to a modal. if not, then simply keep them in the slashcommand and have the modal only have the message)

To get started with modals, see our tutorial https://github.com/Together-Java/TJ-Bot/wiki/Create-and-use-modals
The example command created there should be very similar to what we want for /modmail.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions