In January 2020, Potter from The First Regiment (MG-A) created a nifty bit of JavaScript that took information from a defined Google Calendar and translated it into a format that Discord could understand, then posted that formatted information to a defined channel within a Discord server utilizing Webhooks. It can merge multiple calendars into its posts, and can handle many different Discords. At first, the script only posted events from the Alliance calendar to Alliance Discords and neither the Horde nor the Alliance had an interest in having merged calendars, so Potter provided Mirchea with one of the first versions of the script. Mirchea did not know how to use it at the time, so Potter graciously agreed to manage a separate instance of the script for the Horde, utilizing our calendar.
After some time, more and more Horde and Neutral Discords cropped up, and many of them wished to utilize this service. Thus, Mirchea enlisted Tristanis from Ashes of Alar (MG-H) to help make sense of the script they had been given and develop it more to our tastes and fix some issues with the formatting, with Potter's approval. It was then hosted on the Google Apps Script service and the rest is history.
Here's what the script posts look like as of May 2021!
It also contains a message linking to the calendar directly and our Discord.
We'll only list the public ones!
New to MG Horde
MG Horde Community Calendar (Pop into here to poke us with any questions or concerns!)
The Coalition of the Horde
Orgrimmar Outreach Program
The Unified Horde
...and several other private/guild Discords!
First, you must create a Webhook.
NOTE: Treat a Webhook URL like a password. Webhooks are open-ended listeners, and sharing it publicly could allow bad actors to send messages to that channel through unapproved means.
There are two people who have access to the Discord posting script, and they are Tristanis (Disc: Tristanis#1973 - the Main Script Dude) and Mirchea (Disc: Mirchea#1392 - knows how to add Webhooks). You can DM one of us to let us know you'd like your channel's Webhook added to the script, or you can join our Discord to poke us with any questions or concerns you might have.
Here are the steps for creating a Webhook:
1. Make a channel on your server where you want the script to post events (or edit an existing one). Go to the channel edit options like so:
2. In the new window that opens, click on 'Integrations' on the left.
3. Then, in the next window, click the 'Create Webhook' button.
4. Here, you are essentially creating a 'bot'. You can name it whatever you like and give it whatever avatar/profile image you wish (whatever you name it is the name that the event posting will show up under, such as 'Horde Community Calendar' in the example posts above). However, the most important part is the channel selection. Make sure the channel selected is the channel you wish to have events posted into.
5. Next, click on the 'Copy Webhook URL' button. A little popup will say that the Webhook has been copied to your computer's clipboard. It will not display a URL for you - you must paste it somewhere to see it. Do not paste the Webhook into a public channel or any other public place! Treat this URL like a password.
You can view, edit the Webhook's name and profile pic, or get the Webhook URL again at any time by going back into that channel's Integrations, clicking 'View Webhooks', clicking on the Webhook you made, and then clicking the 'Copy Webhook URL' button again.
Now you just gotta DM one of the script managers or pop into that Discord linked above to let us know you'd like to be added! The only thing we ask is you tell us the name of your server (or alternatively we can just use your Discord tag) so we can note what Webhook belongs to where/who in the script in case there's any issues or changes that need to be made in the future.