Skip to content
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

[Feature] DiscordSRV support #135

Open
Dyljyn opened this issue Sep 9, 2024 · 3 comments
Open

[Feature] DiscordSRV support #135

Dyljyn opened this issue Sep 9, 2024 · 3 comments

Comments

@Dyljyn
Copy link

Dyljyn commented Sep 9, 2024

I was wondering if support for DiscordSRV could be considered. This would allow the fact that the server is in maintenance mode be automatically broadcasted and displayed in the associated Discord server.

@PSYCHEER
Copy link

+1

@kennytv
Copy link
Owner

kennytv commented Sep 13, 2024

Depending on what exactly you want, you should be able to use commands-on-maintenance-enable and commands-on-maintenance-disable to just run discordsrv commands there

@FaultyFunctions
Copy link

You could also do the opposite. In DiscordSRV you can use alerts.yml to send whatever messages you want when maintenance is enabled/disabled.

For example:

  - Trigger: MaintenanceChangedEvent
    Channel: WhateverChannelYouHaveLinkedAndWantHere
    Embed:
      Color: "#000001"
      Author:
        ImageUrl: "LinkToWhateverImageYouWant.png"
        Name: '${#event.isMaintenance() ? "Server is now under maintenance!" : "Server maintenance is over!"}'

I haven't personally tested this, but I think it'll work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants