mainIine / foe-helfer-extension

FoE Helfer - Extension for chromium based browsers and Firefox ;-)
https://foe-helper.com
GNU Affero General Public License v3.0
122 stars 180 forks source link

[Feature Request] Events for Discord Webhooks #2543

Open mainIine opened 1 year ago

mainIine commented 1 year ago

If you have a new idea for a webhook, write a comment here with the location in the game and a short explanation.

Remember that this event cannot be personalised, unless you own a Discord server alone ;-)

VirusBot commented 1 year ago

Send Textmessage from specified channels from FOE to a discord channel.

Tywinnn commented 1 year ago

With some additional features, it would make more sense that we would receive a message when a province opened up, rather than a player initiating an attack; which is currently the trigger.

On that same concept I was also thinking possibly we could just log in every now and then on the GBG map, cache the current data and send the triggers "Province opening up", from our local storage, as which I believe is the current way of handling the data, right?

This would eliminate the current "issue" of having to have the GBG map open all the time, to have the triggers sent. Please let me know your thoughts and viability on what I propose

thepab commented 1 year ago

it would be fun to copy the discord link in a settings window and this link would be integrated automatic in a new webhook.

Bozer-der-Barbar commented 1 year ago

A couple of questions/comments:

VirusBot commented 1 year ago

I would also add to Tywinnn that it would be nice not only to trigger an alarm if the sector is unlocked. It would also be nice to add an info message maybe some minutes bevor the sector opens, such that all members are ready. This could be combined with the GG alarms, such that these sectors are then a trigger for that tool.

Beta-Wolf commented 1 year ago

Multiple trigger event options for the GBG Discord webhook, e.g.:

When an enemy is X points away from conquering your province, FoE webhook will post an announcement containing "customizable content".

Beta-Wolf commented 1 year ago

A button to duplicate webhooks would be nice as we need to make one for each province at the moment (which I don't really get).

While we're at it, maybe add an 'all provinces' option.

RemyVissyrias commented 1 year ago

A test button : In order to check if all works as expected, especially the URL and message.

sdn-br commented 1 year ago

A combination with alarms would be interesting. Alarm-System could also trigger messages into Discord. e.g i am setting an alarm for me when province opens up, as a battle general i would like to inform into discord as well.

denisebuilder commented 1 year ago

Hi, I am currently figuring this out, but it seems to not be working? Should I fill in the name of the webhook at name? or a new name? Can one webhook have multiple of these entries? Is a message sent also when the sector is already open?

EDIT: it would be nice to have the message 1-2 mins before the sector opens up

CrepsMan commented 5 months ago

i want ingame messagesinto discord