-
-
Notifications
You must be signed in to change notification settings - Fork 104
add modal support to /modmail command #800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add modal support to /modmail command #800
Conversation
|
i'd say keep the anonymous field in the modal as well, what do u guys think? |
...ication/src/main/java/org/togetherjava/tjbot/features/moderation/modmail/ModMailCommand.java
Outdated
Show resolved
Hide resolved
...ication/src/main/java/org/togetherjava/tjbot/features/moderation/modmail/ModMailCommand.java
Outdated
Show resolved
Hide resolved
...ication/src/main/java/org/togetherjava/tjbot/features/moderation/modmail/ModMailCommand.java
Outdated
Show resolved
Hide resolved
...ication/src/main/java/org/togetherjava/tjbot/features/moderation/modmail/ModMailCommand.java
Outdated
Show resolved
Hide resolved
...ication/src/main/java/org/togetherjava/tjbot/features/moderation/modmail/ModMailCommand.java
Outdated
Show resolved
Hide resolved
...ication/src/main/java/org/togetherjava/tjbot/features/moderation/modmail/ModMailCommand.java
Outdated
Show resolved
Hide resolved
@Zabuzard what about this? |
Wouldn't it be ambiguous for users? the current one gives options, they would have to type yes or no, but users who used it before may type true and false instead. |
we can accept everything from
unfortunately that is not possible |
|
if modals support dropdowns, i would want to move as much as possible into it. if thats not an option, i would rather want to keep it as slash-command. dont want to have input-parsing y/n/yes/no/... on that honestly. in particular if we have a slash-command input already anyways due to the guild-dropdown (unless modals have dropdowns) |
|
Awesome, thanks for your contribution ❤️ Are you on our Discord? If so, could you tell me your account name, then I can give you the contributor badge 👍 |
|
Thank you @Zabuzard for your kind words. |
|
i can see 2 Rimuru in discord, pls tell ur tag as well |
|
Rimuru#2995 |
Pull-request
Changes
Closes Issue: #645
Description
Add modal for users to write their message, the command still accepts guild and "Wants to stay anonymous" as parameters, only message has been moved into the modal.
The new command looks like this: