Bara / Discord-MapNotification

GNU General Public License v3.0
6 stars 3 forks source link

Implement time I send the message on discord #9

Closed crashzk closed 1 year ago

crashzk commented 1 year ago

Currently messages are sent like this: image

It would be something like this, send the date and time in the message as a footer. This way we can have a better control of the time that the server map changed.

image

Rushaway commented 1 year ago

I did it like that.

/* Header */
Embed Embed_1 = new Embed(sHostname);
Embed_1.SetTimeStampNow();
Embed_1.SetColor(Color);

[...]

EmbedFooter Footer = new EmbedFooter("");
Footer.SetIconURL("https://github.githubassets.com/images/icons/emoji/unicode/1f55c.png?v8");
Embed_1.SetFooter(Footer);
delete Footer;
Bara commented 1 year ago

Both has been added in recent commits. Let me know if you've other suggestions. 👍🏻

Preview: Preview