Skip to content

Add buttons and support for modal windows #1849

@d0ddn

Description

@d0ddn

Why?

Discord modal windows can act as a console, issuing a server block with a reason (executing any scheduled command).
They can also serve as a ticket link, all of which could be configured through something like alerts.yml.
They can also send webhooks with buttons.

Buttons - Add the ability to add buttons to alerts.yml to execute any commands on behalf of a player or server.

What and How?

Adds modal windows and buttons that are sometimes missing, while other bots that add this functionality, for example, cannot get placeholders directly from the DiscrodSRV plugin.

The buttons called modal windows in Discord or sent to another webhook channel also with buttons, and so on ad infinitum.

Are there alternatives?

Add helper functions to the plugin to complement this functionality.

Checks

  • I have used the search at least once to check if my idea has already been suggested and perhaps already implemented.

Anything else

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions