-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdiscord.html
114 lines (96 loc) · 5.51 KB
/
discord.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<html>
<head>
<title>SWGOH Tools - Automatic Discord Game Updates</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<style>
h3 {
margin-top: 50px;
}
.swgoh_ad {
position: absolute;
left:0;
top:90px;
width:0;
height:0px;
}
#ad {
width:100%;
height:60px;
}
@media(min-width: 520px) { #top { padding-bottom:0px} #ad { height:90px;} .swgoh_ad { left:inherit; top:0; right:0; width: 328px; height: 90px; } }
@media(min-width: 720px) { #top { padding-bottom:0px} #ad { height:90px;} .swgoh_ad { left:inherit; top:0; right:0; width: 528px; height: 90px; } }
@media(min-width: 920px) { #top { padding-bottom:0px} #ad { height:90px;} .swgoh_ad { left:inherit; top:0; right:0; width: 728px; height: 90px; } }
@media(min-width: 1200px) { #top { padding-bottom:0px} #ad { height:90px;} .swgoh_ad { left:inherit; top:0; right:0; width: 1000px; height: 90px; } }
</style>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
</head>
<body>
<div id="top">
<a href="index.html" id="logoClick"></a>
<div id="ad">
<!-- Swgoh.life -->
<ins class="adsbygoogle swgoh_ad"
style="display:block"
data-ad-client="ca-pub-0176506581219642"
data-ad-slot="9855290481"
data-ad-format="horizontal"></ins>
<script>
//https://support.google.com/adsense/answer/6307124
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
<div id="middleSolo">
<h1><a href="index.html">More Tools</a> > Automatic Discord Game Updates</h1>
<p>This tutorial will explain how to set it up so that official SWGOH game updates will be automatically posted to a channel of your choice on your <a href="https://discordapp.com/">Discord</a> server.</p>
<h3>Step 1: Zapier</h3>
<p>Create a free account at <a href="http://www.zapier.com">Zapier.com</a>. Zapier allows you to connect different web sites and automate certain actions. We will set it up to monitor the official SWGOH forums and when an official game update is posted, Zapier will push this into a channel on your Discord Server.</p>
<h3>Step 2: Create a Zap Trigger</h3>
<p>Click the "Make a Zap" button and on the "Choose a Trigger" page, select "RSS by Zapier". Click the "show less common options" link and select the "Multiple Feeds" option.</p>
<img src="images/step2.png" width="500" border="1" />
<p>Enter the following three URLs:</p>
<ul>
<li>https://forums.galaxy-of-heroes.starwars.ea.com/categories/game-updates/feed.rss</li>
<li>https://forums.galaxy-of-heroes.starwars.ea.com/categories/news-and-announcements-/feed.rss</li>
</ul>
<p>From the "What Triggers a New Feed Item" section you have a choice:</p>
<ul>
<li>"Anything is Different". This will give you a notification when the announcement is made, and every time that it is edited after that.</li>
<li>"Different Guid/URL (smart)". This will give you 1 notification per announcement.</li>
</ul>
<img src="images/step2b.png" width="500" border="1" />
<p>Select "continue" and it should test it and give you a success screen.</p>
<h3>Step 3: Create a Discord Webhook</h3>
<p>You must have Admin Privileges to your Discord Server. This step won't work from a mobile client, so you'll need to use a desktop client or be signed into the Discord website. Select "Server Settings" from the menu in your Discord Server. Select the "Webhooks" option and then click the "Create Webhook" button. This will be the "user" who appears to be posting the news, so give it a clever name and avatar (this can be done later). Select the channel that you want the automatic posts to go into. Copy the "Webhook URL" and save your changes.</p>
<img src="images/step3.png" width="500" border="1" />
<h3>Step 4: Create a Zap Action</h3>
<p>Back on Zapier.com, for the "Choose an Action App" page, select "Webhooks by Zapier" and then select "POST".</p>
<img src="images/step4.png" width="500" border="1"/>
<p>Copy and paste the Webhook URL from step 3 into the field at the top. For the "Data" field, enter "content" in the left box and setup the right box to look like the image below. All the other fields can be left at the default settings.</p>
<img src="images/step4b.png" width="500" border="1"/>
<p>The next page should give you the option of testing the Zap. If all goes well, you should get a notification in Discord with the last developer update that was posted. If you get an error, go back and make sure you setup step 4 correctly. Make sure you turn this Zap on, and your done!</p>
<img src="images/step4c.png" width="500" border="1"/>
<br /><br /><ins class="adsbygoogle"
style="display:block; text-align:center;"
data-ad-format="fluid"
data-ad-layout="in-article"
data-ad-client="ca-pub-0176506581219642"
data-ad-slot="6732943283"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-92624-14', 'auto');
ga('send', 'pageview');
</script>
</div>
<div id="foot">
<p>SWGOH.LIFE is not affiliated with EA, EA Capital Games, Disney or Lucasfilm LTD.</p>
</div>
</body>
</html>