Lightman's Discord Integration

Lightman's Discord Integration

46.6k Downloads

Question: Is there an option to have server messages send to the Discord?

RavanCraft opened this issue ยท 8 comments

commented

I have for example a warning message that the server will shut down in a few minutes which is send by the server. Unfortunately this is not send to my Discord channel. It would be very helpful for people to see messages like this in Discord as well.

commented

Ok, I'll try to find out. Thank you for the feedback!

commented

At the moment there isn't any way of doing that, but if I knew what methods you're using to send the message I could probably look into it.

commented

I would like to +1 this

I just on the server's scheduler and this is type of command I have it sent.

this is for count down
/title @A title {"text":"3","bold":true}

and the just a message
/tellraw @A {"text":"Server will restart in 1 hour"}

commented

Question: Would simply adding a command that sends a message to discord & only discord work?

i.e. Adding a command that upon receiving
/telldiscord Server will restart in 1 hour!
will post a message in the discord #server-chat channel saying Server will restart in 1 hour!

Then you could probably set up your scheduler systems to run the /telldiscord command at the same time as it sends the /tellraw & /title messages.

I feel like this would be the best solution personally, as some people may not want the bot to be listening in to their /title & /tellraw messages, as some may be used for single-target messages that they don't want posted to the general public.

commented

Question: Would simply adding a command that sends a message to discord & only discord work?

i.e. Adding a command that upon receiving /telldiscord Server will restart in 1 hour! will post a message in the discord #server-chat channel saying Server will restart in 1 hour!

Then you could probably set up your scheduler systems to run the /telldiscord command at the same time as it sends the /tellraw & /title messages.

I feel like this would be the best solution personally, as some people may not want the bot to be listening in to their /title & /tellraw messages, as some may be used for single-target messages that they don't want posted to the general public.

I am down for that one.

commented

Cool, that should be easy enough to add, so I'll see if I can get that done sometime tomorrow.

commented

'/telldiscord <message>' command has been added in v0.0.3.8.

commented

nice I will test it on my close beta server as i just updated it last night