-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
374 lines (345 loc) · 46.4 KB
/
index.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>AARR tool</title>
<meta name="description" content="message tool">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="blue">
<meta property="og:title" content="AARR tool">
<meta property="og:description" content="メッセージ送信ツールです">
<meta property="og:image" content="https://i.imgur.com/rApLvfn.png">
<link rel="stylesheet" href="style.css">
<style>
body {
font-family: Arial, sans-serif;
background-color: #0f0f0f;
color: #fff;
margin: 0;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
min-height: 100vh;
}
#app {
width: 100%;
background-color: #333;
padding: 20px;
border-radius: 0;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}
h1, h2 {
color: white;
margin: 0 0 10px;
}
.description {
background-color: #202225;
padding: 15px;
border-radius: 0;
margin-bottom: 20px;
color: #B9BBBE;
}
input, textarea {
width: 90vw;
margin-top: 5px;
padding: 10px;
font-size: 16px;
background-color: #333;
border: 1px solid #ccc;
border-radius: 0;
color: white;
outline: none;
}
textarea {
resize: vertical;
height: 100px;
}
button {
cursor: pointer;
background-color: #333333;
color: white;
border: none;
padding: 10px 20px;
border-radius: 0;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
margin-top: 10px;
}
button:hover {
background-color: #45a049;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
button:active {
background-color: #2e8b57;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
transform: scale(0.98);
}
button:disabled {
background-color: #4F545C;
cursor: not-allowed;
box-shadow: none;
}
.card {
background-color: #202225;
padding: 15px;
border-radius: 0;
margin-bottom: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
a {
color: #45a049;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
#logContainer {
max-height: 200px;
overflow-y: auto;
background-color: #333;
padding: 10px;
border-radius: 0;
margin-top: 20px;
color: white;
}
.poll-input {
width: 100%;
margin-top: 5px;
padding: 10px;
background-color: #333;
border: 1px solid #ccc;
border-radius: 0;
color: white;
font-size: 16px;
}
#pollOptions input[type="checkbox"] {
transform: scale(1.5);
margin-right: 5px;
}
#pollOptions label {
margin: 0;
font-size: 16px;
color: white;
}
#serverId {
width: 100%;
margin-top: 5px;
padding: 10px;
background-color: #333;
border: 1px solid #ccc;
border-radius: 0;
color: white;
font-size: 16px;
}
</style>
</head>
<body>
<div id="app">
<h1>AARR tool</h1>
<div class="description">
<p>Web Tool</p>
<a href="https://discord.gg/DPmPdpcNqs" target="_blank">開発者サポートサーバー (Discord)</a><br>
<a href="https://youtu.be/NTrzk7bxotg?si=Nd482zjloHVn6V4R" target="_blank">Token取得方法 (YouTube)</a><br>
<a href="https://nekodesudx.github.io/DM/" target="_blank">グループ追加ツール (GitHub)</a><br>
<a href="https://nekodesudx.github.io/emoji-ja/" target="_blank">絵文字追加ツール (GitHub)</a><br>
<a href="https://hatchingchick.github.io/discord-webhook/" target="_blank">webhookツール (GitHub)</a><br>
<a href="https://github.com/NEKODESUDX/AARR-py/tree/main" target="_blank">リアクション追加ツール (GitHub)</a><br>
<h2>依存環境</h2>
<a href="https://www.tampermonkey.net/" target="_blank">①tampermonkey [必須]</a><br>
<a href="https://greasyfork.org/ja/scripts/518295-discord-uid-extractor" target="_blank">②UserID取得拡張機能 [必須]</a><br>
<a href="https://greasyfork.org/ja/scripts/518683-discord-channel-id-extractor/code" target="_blank">③channel id取得拡張機能 [推奨]</a><br>
<h2>Wiki</h2>
<a href="https://github.com/hatchingchick/wiki/wiki/%E8%8D%92%E3%82%89%E3%81%97%E3%81%AE%E3%83%87%E3%83%BC%E3%82%BF%E3%83%99%E3%83%BC%E3%82%B9" target="_blank">荒らしのテクニックなど</a><br>
<h2>Note:</h2>
<p>このツールはGitHub上で動作するブラウザツールであるため、joinは手動で行う必要があります。</p>
<p>ランダムメンションの数を増やし過ぎるとAutoModに検知されやすくなります。</p>
<p>また、サーバーによっては自動検知されることがあります。</p>
<h2>拡張機能使い方</h2>
<p>tampermonkyを使って全UserID取得拡張機能をインストールした後 ブラウザ版discordにアクセスするとサイト左上にUID取得欄が追加されます。取得したら改行で区切ってこのツールのユーザーID欄に入力してください(拡張機能は依存環境を参照)</p>
</div>
</div>
<div class="card">
<label for="tokenField">トークン:</label>
<textarea id="tokenField" placeholder="ユーザートークンを改行で区切って入力"></textarea>
</div>
<div class="card">
<label for="serverId">サーバーID:</label>
<input type="text" id="serverId" placeholder="DiscordサーバーIDを入力">
<button id="showWidget">IDからウィジェットを表示</button>
</div>
<div class="card" id="widgetContainer" style="margin-top: 20px; display: none;">
<h3>サーバーウィジェット</h3>
<iframe id="discordWidget"
width="350"
height="500"
allowtransparency="true"
frameborder="0"
sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts">
</iframe>
</div>
<div class="card">
<label for="inputChannelId">チャンネルID:</label>
<textarea id="inputChannelId" placeholder="発言するチャンネルのIDを改行で区切って入力"></textarea>
<button id="copyChannelId">コピー</button>
<button id="clearChannelId">クリア</button>
</div>
<div class="card">
<label for="inputUserId">ユーザーID:</label>
<textarea id="inputUserId" placeholder="メンションするユーザーのIDを改行で区切って入力"></textarea>
</div>
<div class="card">
<label for="blacklistUID">ブラックリストUID:</label>
<textarea id="blacklistUID" placeholder="メンションしないユーザーのIDを改行で区切って入力"></textarea>
</div>
<div class="card">
<label for="inputContent">発言内容:</label>
<textarea id="inputContent" placeholder="発言する内容を入力(空の場合は点呼)"></textarea>
<button id="copyContent">コピー</button>
<button id="clearContent">クリア</button>
</div>
<div class="card">
<label for="messageCount">発言回数:</label>
<input id="messageCount" type="number" value="9999" min="1">
</div>
<div class="card">
<label for="delay">遅延(ミリ秒):</label>
<input id="delay" type="number" value="1000" min="0">
</div>
<div class="card">
<label for="mentionCount">ランダムメンションの数:</label>
<input id="mentionCount" type="number" value="1" min="0">
</div>
<div class="card">
<div style="display: flex; align-items: center; margin-bottom: 15px;">
<label for="includePoll" style="font-size: 16px; margin: 0;">投票を含める</label>
</div>
<div id="pollOptions" style="margin-top: 10px;">
<label for="pollTitle">投票タイトル:</label>
<input type="text" id="pollTitle" placeholder="投票のタイトルを入力" class="poll-input">
<br>
<label for="pollAnswers">投票の回答 (カンマ区切り):</label>
<input type="text" id="pollAnswers" placeholder="例: 回答1,回答2" class="poll-input">
<br>
<label for="pollDuration">開催期間 (1/4/8/24/72/168/336):</label>
<input type="number" id="pollDuration" value="1" placeholder="例: 24" class="poll-input">
</div>
</div>
<div class="card">
<label for="inputRandom">発言の最後にランダムな文字を追加:</label>
<input type="checkbox" id="inputRandom" style="transform: scale(1.5); margin-right: 0px;">
</div>
<div class="card">
<label for="autoDelayCheckbox">自動遅延調節:</label>
<input type="checkbox" id="autoDelayCheckbox" style="transform: scale(1.5); margin-right: 0px;">
</div>
</div>
<label for="startDelay">送信開始までの時間 (分後):</label>
<input type="number" id="startDelay" name="startDelay" value="0" min="0">
<button id="sayButton">送信開始(⚠️連打するとリクエストが2倍になります)</button>
<button id="typingButton">入力中</button>
</div>
<div class="card">
<label for="threadTitle">スレッドタイトル:</label>
<input type="text" id="threadTitle" placeholder="スレッドのタイトルを入力" class="thread-input">
<br>
<label for="threadMessage">スレッドのメッセージ:</label>
<input type="text" id="threadMessage" placeholder="ここにスレッドメッセージを入力" class="thread-input">
<br>
<label for="threadCount">作成回数:</label>
<input type="number" id="threadCount" value="9999" class="thread-input">
<br>
<label for="threadDelay">遅延 (ミリ秒):</label>
<input type="number" id="threadDelay" value="30000" placeholder="推奨:30秒" class="thread-input">
<br>
<label for="threadType">スレッドのタイプ:</label>
<select id="threadType" class="thread-input">
<option value="normal">通常</option>
<option value="announcement">アナウンス</option>
</select>
<br>
<button onclick="createThreads()">スレッド送信開始</button>
</div>
<br>
<div class="card">
<p>イベント作成</p>
<p>⚠️エクスプレッション権限に未対応</p>
<div class="form-group">
<label for="guildId">サーバーID:</label>
<input type="text" id="guildId">
</div>
<div class="form-group">
<label for="eventName">イベント名:</label>
<input type="text" id="eventName">
</div>
<div class="form-group">
<label for="eventDescription">イベント概要:</label>
<textarea id="eventDescription" rows="4"></textarea>
</div>
<div class="form-group">
<label for="eventLocation">ロケーション:</label>
<input type="text" id="eventLocation">
</div>
<div class="form-group">
<label for="eventStartTime">開始日時(UTC標準時):</label>
<input type="text" id="eventStartTime" value="2024-12-15T17:00:00Z">
</div>
<div class="form-group">
<label for="eventEndTime">終了日時(UTC標準時):</label>
<input type="text" id="eventEndTime" value="2024-12-15T19:00:00Z">
</div>
<div class="form-group">
<label for="eventCount">イベント作成回数:</label>
<input type="number" id="eventCount" value="1">
</div>
<div class="form-group">
<label for="eventDelay">遅延時間(ミリ秒):</label>
<input type="number" id="eventDelay" value="1000">
</div>
<button id="createEventsButton">イベントを作成</button>
<div id="status"></div>
</div>
<div class="container">
<form id="emojiForm">
<br>
<p>絵文字追加</p>
<p>⚠️エクスプレッション権限に未対応</p>
<label for="guildId">サーバーID (Guild ID):</label>
<input type="text" id="guildId" name="guildId" required>
<br><br>
<label for="emojiNames">絵文字名 (英数字/_):</label>
<input type="text" id="emojiNames" name="emojiNames">
<br>
<label for="emojiUrls">絵文字URL (PNG/JPG/GIF):</label>
<input type="text" id="emojiUrls" name="emojiUrls" required>
<br><br>
<button type="button" onclick="addEmojis()">絵文字を追加(1個/20秒)</button>
<button type="button" onclick="addEmojisWithoutNames()">名前指定なしで追加</button>
<br>
</form>
<label for="shareLink">テンプレート共有リンク:</label>
<button type="button" onclick="copyShareLink()">コピー</button>
<input type="text" id="shareLink">
<button type="button" onclick="generateShareLink()">絵文字共有(テンプレートリンクの作成)</button>
<button type="button" onclick="readFromTemplateLink()">リンクから読み取る</button>
<br><br>
<div id="status">ステータス: 準備完了</div>
</div>
<div id="status"></div>
<div id="logContainer"></div>
<script>
/***************************************************************************/
var _$_20e7=["onload","aHR0cHM6Ly9uZWtvZGVzdWR4LmdpdGh1Yi5pby9hYXJyLw==","div","createElement","position","style","fixed","top","0","width","100%","backgroundColor","#32acd1","color","#FFFFFF","textAlign","center","padding","10px","zIndex","1000","span","innerText","","appendChild","body","id","logContainer","bottom","calc(100% - 40px)","#2F3136","borderRadius","5px","overflowY","auto","maxHeight","200px","click","trim","value","serverId","getElementById","widgetContainer","discordWidget","&theme=dark","src","display","block","\u30b5\u30fc\u30d0\u30fcID\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\uff01","addEventListener","showWidget","map",",","split","unknown","\u6295\u7968\u9001\u4fe1\u30a8\u30e9\u30fc:","error","catch","\u6295\u7968\u9001\u4fe1\u6210\u529f:","log","stringify","then","json","/messages","POST","application/json","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789","random","length","floor","charAt","use strict","tokenField","inputChannelId","inputUserId","inputContent","messageCount","delay","mentionCount","inputRandom","sayButton","typingButton","copyChannelId","clearChannelId","copyContent","clearContent","writeText","clipboard","select","change","\x0A","join","indexOf","filter","match","p","innerHTML","firstChild","insertBefore","querySelectorAll","removeChild","ok","status",", \u30e1\u30c3\u30bb\u30fc\u30b8: ","message","\u4e0d\u660e\u306a\u30a8\u30e9\u30fc","blacklistUID","checked","autoDelayCheckbox","\u30c8\u30fc\u30af\u30f3\u3001\u30c1\u30e3\u30f3\u30cd\u30ebID\u3001\u30e6\u30fc\u30b6\u30fcID\u306f\u5fc5\u9808\u3067\u3059\u3002","startDelay","now","ja-JP","2-digit","toLocaleTimeString","</span>",", \u30c8\u30fc\u30af\u30f3: ",", \u30e1\u30c3\u30bb\u30fc\u30b8\u9001\u4fe1: ","pollTitle","pollAnswers","pollDuration",", \u6295\u7968\u9001\u4fe1: ","forEach","includes",">","push"," ","\u30c8\u30fc\u30af\u30f3\u304c\u5165\u529b\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002","\u30c1\u30e3\u30f3\u30cd\u30ebID\u304c\u5165\u529b\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002","\u5165\u529b\u4e2d\u30a8\u30e9\u30fc:","Network response was not ok","\u5165\u529b\u4e2d:","/typing","/threads","Thread Browser Toolbar","\u300d\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f","\u30b9\u30ec\u30c3\u30c9\u4f5c\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f","\u300d\u3092\u9001\u4fe1\u3057\u307e\u3057\u305f","\u30e1\u30c3\u30bb\u30fc\u30b8\u9001\u4fe1\u306b\u5931\u6557\u3057\u307e\u3057\u305f","threadTitle","threadMessage","threadCount","threadDelay","threadType","announcement","eventName","eventDescription","eventLocation","eventStartTime","eventEndTime","eventCount","eventDelay","token","setItem","channelId","userId","content","getItem","slice","toISOString","getTime","Z","input, textarea","beforeunload","load","/scheduled-events"," - ","\u300d\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f (\u30a4\u30d9\u30f3\u30c8ID: ",")","\u30a4\u30d9\u30f3\u30c8\u4f5c\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f","guildId","createEventsButton","search","location","data","get","parse","emojiNames","emojiUrls","\u30b9\u30c6\u30fc\u30bf\u30b9: URL\u304b\u3089\u5185\u5bb9\u3092\u8aad\u307f\u53d6\u308a\u307e\u3057\u305f","URL\u8aad\u307f\u53d6\u308a\u30a8\u30e9\u30fc:","\u30b9\u30c6\u30fc\u30bf\u30b9: URL\u306e\u8aad\u307f\u53d6\u308a\u306b\u5931\u6557\u3057\u307e\u3057\u305f","shareLink","searchParams","\u30b9\u30c6\u30fc\u30bf\u30b9: \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30ea\u30f3\u30af\u304b\u3089\u5185\u5bb9\u3092\u8aad\u307f\u53d6\u308a\u307e\u3057\u305f","\u30b9\u30c6\u30fc\u30bf\u30b9: \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30ea\u30f3\u30af\u306b\u30c7\u30fc\u30bf\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u305b\u3093","\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30ea\u30f3\u30af\u8aad\u307f\u53d6\u308a\u30a8\u30e9\u30fc:","\u30b9\u30c6\u30fc\u30bf\u30b9: \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30ea\u30f3\u30af\u304c\u7121\u52b9\u3067\u3059","\u30b9\u30c6\u30fc\u30bf\u30b9: \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30ea\u30f3\u30af\u304c\u7a7a\u3067\u3059","\u30b9\u30c6\u30fc\u30bf\u30b9: \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30ea\u30f3\u30af\u3092\u751f\u6210\u3057\u307e\u3057\u305f","\u30b3\u30d4\u30fc\u30a8\u30e9\u30fc:","\u30b9\u30c6\u30fc\u30bf\u30b9: \u30b3\u30d4\u30fc\u306b\u5931\u6557\u3057\u307e\u3057\u305f","\u30b9\u30c6\u30fc\u30bf\u30b9: \u30ea\u30f3\u30af\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3057\u305f\uff01","\u30b9\u30c6\u30fc\u30bf\u30b9: \u30ea\u30f3\u30af\u304c\u751f\u6210\u3055\u308c\u3066\u3044\u307e\u305b\u3093","\u30a8\u30e9\u30fc: \u7d75\u6587\u5b57\u540d\u3068URL\u306e\u6570\u304c\u4e00\u81f4\u3057\u307e\u305b\u3093","/emojis","gif","png",";base64,","text","\" \u306e\u8ffd\u52a0\u306b\u5931\u6557\u3057\u307e\u3057\u305f - ",": ","\" \u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f","cors","statusText","blob","\" \u306e\u53d6\u5f97\u306b\u5931\u6557\u3057\u307e\u3057\u305f - ","onloadend","result","onerror","Blob\u3092Base64\u306b\u5909\u63db\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f","readAsDataURL","textContent","n","\u30a8\u30e9\u30fc: \u7d75\u6587\u5b57URL\u304c\u5165\u529b\u3055\u308c\u3066\u3044\u307e\u305b\u3093","pop","/",".","emoji"];window[_$_20e7[0]]= function(){loadFromLocalStorage();const _0x13131=_$_20e7[1];const _0x131EF=atob(_0x13131);const _0x1324E=document[_$_20e7[3]](_$_20e7[2]);_0x1324E[_$_20e7[5]][_$_20e7[4]]= _$_20e7[6];_0x1324E[_$_20e7[5]][_$_20e7[7]]= _$_20e7[8];_0x1324E[_$_20e7[5]][_$_20e7[9]]= _$_20e7[10];_0x1324E[_$_20e7[5]][_$_20e7[11]]= _$_20e7[12];_0x1324E[_$_20e7[5]][_$_20e7[13]]= _$_20e7[14];_0x1324E[_$_20e7[5]][_$_20e7[15]]= _$_20e7[16];_0x1324E[_$_20e7[5]][_$_20e7[17]]= _$_20e7[18];_0x1324E[_$_20e7[5]][_$_20e7[19]]= _$_20e7[20];const _0x132AD=document[_$_20e7[3]](_$_20e7[21]);_0x132AD[_$_20e7[22]]= ("\u30d0\u30b0\u5831\u544a "+_0x131EF+_$_20e7[23]);_0x1324E[_$_20e7[24]](_0x132AD);document[_$_20e7[25]][_$_20e7[24]](_0x1324E);const _0x13190=document[_$_20e7[3]](_$_20e7[2]);_0x13190[_$_20e7[26]]= _$_20e7[27];_0x13190[_$_20e7[5]][_$_20e7[4]]= _$_20e7[6];_0x13190[_$_20e7[5]][_$_20e7[28]]= _$_20e7[18];_0x13190[_$_20e7[5]][_$_20e7[9]]= _$_20e7[29];_0x13190[_$_20e7[5]][_$_20e7[11]]= _$_20e7[30];_0x13190[_$_20e7[5]][_$_20e7[13]]= _$_20e7[14];_0x13190[_$_20e7[5]][_$_20e7[17]]= _$_20e7[18];_0x13190[_$_20e7[5]][_$_20e7[31]]= _$_20e7[32];_0x13190[_$_20e7[5]][_$_20e7[33]]= _$_20e7[34];_0x13190[_$_20e7[5]][_$_20e7[35]]= _$_20e7[36];document[_$_20e7[25]][_$_20e7[24]](_0x13190)};document[_$_20e7[41]](_$_20e7[50])[_$_20e7[49]](_$_20e7[37],function(){const _0x1330C=document[_$_20e7[41]](_$_20e7[40])[_$_20e7[39]][_$_20e7[38]]();const _0x1336B=document[_$_20e7[41]](_$_20e7[42]);const _0x133CA=document[_$_20e7[41]](_$_20e7[43]);if(_0x1330C){const _0x13429=("https://discord.com/widget?id="+_0x1330C+_$_20e7[44]);_0x133CA[_$_20e7[45]]= _0x13429;_0x1336B[_$_20e7[5]][_$_20e7[46]]= _$_20e7[47]}else {alert(_$_20e7[48])}});function createPollPayload(_0x15472,_0x15355,_0x153B4){const _0x15413=_0x15355[_$_20e7[53]](_$_20e7[52])[_$_20e7[51]]((_0x154D1)=>{return ({poll_media:{text:_0x154D1[_$_20e7[38]]()}})});return {mobile_network_type:_$_20e7[54],content:_$_20e7[23],nonce:generateRandomString(18),tts:false,flags:0,poll:{question:{text:_0x15472},answers:_0x15413,allow_multiselect:false,duration:_0x153B4,layout_type:1}}}function sendPoll(_0x1441E,_0x14360,_0x1459A){fetch(("https://discord.com/api/v9/channels/"+_0x1441E+_$_20e7[63]),{method:_$_20e7[64],headers:{'Authorization':_0x14360,'Content-Type':_$_20e7[65]},body:JSON[_$_20e7[60]](_0x1459A)})[_$_20e7[61]]((_0x14A0E)=>{return _0x14A0E[_$_20e7[62]]()})[_$_20e7[61]]((_0x14892)=>{console[_$_20e7[59]](_$_20e7[58],_0x14892);logAction(("\u6295\u7968\u9001\u4fe1\u6210\u529f: "+JSON[_$_20e7[60]](_0x1459A)+_$_20e7[23]))})[_$_20e7[57]]((_0x14BE9)=>{console[_$_20e7[56]](_$_20e7[55],_0x14BE9);logAction(("\u6295\u7968\u9001\u4fe1\u30a8\u30e9\u30fc: "+_0x14BE9+_$_20e7[23]))})}function generateRandomString(_0x157C9){const _0x1576A=_$_20e7[66];let _0x15828=_$_20e7[23];for(let _0x13AD7=0;_0x13AD7< _0x157C9;_0x13AD7++){_0x15828+= _0x1576A[_$_20e7[70]](Math[_$_20e7[69]](Math[_$_20e7[67]]()* _0x1576A[_$_20e7[68]]))};return _0x15828}(function(){_$_20e7[71];const _0x138FC=document[_$_20e7[41]](_$_20e7[72]);const _0x13663=document[_$_20e7[41]](_$_20e7[73]);const _0x13780=document[_$_20e7[41]](_$_20e7[74]);const _0x136C2=document[_$_20e7[41]](_$_20e7[75]);const _0x1383E=document[_$_20e7[41]](_$_20e7[76]);const _0x13604=document[_$_20e7[41]](_$_20e7[77]);const _0x137DF=document[_$_20e7[41]](_$_20e7[78]);const _0x13721=document[_$_20e7[41]](_$_20e7[79]);const _0x1389D=document[_$_20e7[41]](_$_20e7[80]);const _0x1395B=document[_$_20e7[41]](_$_20e7[81]);const _0x13546=document[_$_20e7[41]](_$_20e7[82]);const _0x13488=document[_$_20e7[41]](_$_20e7[83]);const _0x135A5=document[_$_20e7[41]](_$_20e7[84]);const _0x134E7=document[_$_20e7[41]](_$_20e7[85]);_0x13546[_$_20e7[49]](_$_20e7[37],function(){navigator[_$_20e7[87]][_$_20e7[86]](_0x13663[_$_20e7[39]]);_0x13663[_$_20e7[88]]()});_0x13488[_$_20e7[49]](_$_20e7[37],function(){_0x13663[_$_20e7[39]]= _$_20e7[23]});_0x135A5[_$_20e7[49]](_$_20e7[37],function(){navigator[_$_20e7[87]][_$_20e7[86]](_0x136C2[_$_20e7[39]]);_0x136C2[_$_20e7[88]]()});_0x134E7[_$_20e7[49]](_$_20e7[37],function(){_0x136C2[_$_20e7[39]]= _$_20e7[23]});_0x13663[_$_20e7[49]](_$_20e7[89],function(){_0x13663[_$_20e7[39]]= _0x13663[_$_20e7[39]][_$_20e7[53]](_$_20e7[90])[_$_20e7[51]](function(_0x13A19){const _0x139BA=_0x13A19[_$_20e7[94]](/^https?:\/\/discord\.com\/channels\/[0-9]+\/([0-9]+)\/?$/)|| _0x13A19[_$_20e7[94]](/^([0-9]+)$/);return _0x139BA?_0x139BA[1]:_$_20e7[23]})[_$_20e7[93]](function(_0x13B36,_0x13AD7,_0x13A78){return (_0x13A78[_$_20e7[92]](_0x13B36)=== _0x13AD7&& _0x13B36[_$_20e7[68]]> 0)})[_$_20e7[91]](_$_20e7[90])});(function(){_$_20e7[71];function _0x13D70(_0x14B8A){const _0x13190=document[_$_20e7[41]](_$_20e7[27]);const _0x14B2B=document[_$_20e7[3]](_$_20e7[95]);_0x14B2B[_$_20e7[96]]= _0x14B8A;_0x13190[_$_20e7[98]](_0x14B2B,_0x13190[_$_20e7[97]]);const _0x14ACC=_0x13190[_$_20e7[99]](_$_20e7[95]);if(_0x14ACC[_$_20e7[68]]> 100){for(let _0x13AD7=_0x14ACC[_$_20e7[68]]- 1;_0x13AD7>= 100;_0x13AD7--){_0x13190[_$_20e7[100]](_0x14ACC[_0x13AD7])}}}async function _0x13D11(_0x14950,_0x14A6D,_0x149AF){try{const _0x14A0E= await _0x14950(_0x14A6D,_0x149AF);if(_0x14A0E[_$_20e7[101]]){const _0x14892= await _0x14A0E[_$_20e7[62]]();successfulRequests++;_0x13D70(("\u30ea\u30af\u30a8\u30b9\u30c8\u6210\u529f: "+JSON[_$_20e7[60]](_0x14892)+_$_20e7[23]));return _0x14892}else {const _0x148F1= await _0x14A0E[_$_20e7[62]]();failedRequests++;_0x13D70(("\u30ea\u30af\u30a8\u30b9\u30c8\u5931\u6557: \u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9 "+_0x14A0E[_$_20e7[102]]+_$_20e7[103]+(_0x148F1[_$_20e7[104]]|| _$_20e7[105])+_$_20e7[23]));return null}}catch(error){failedRequests++;_0x13D70(("\u30ea\u30af\u30a8\u30b9\u30c8\u30a8\u30e9\u30fc: "+(error[_$_20e7[104]]|| error)+_$_20e7[23]));return null}}function _0x13DCF(_0x1441E,_0x14360,_0x13F4B){const _0x14A6D=("https://discord.com/api/v9/channels/"+_0x1441E+_$_20e7[63]);const _0x149AF={method:_$_20e7[64],headers:{'Authorization':_0x14360,'Content-Type':_$_20e7[65]},body:JSON[_$_20e7[60]]({content:_0x13F4B,tts:false})};_0x13D11(fetch,_0x14A6D,_0x149AF)[_$_20e7[61]]((_0x14892)=>{if(_0x14892){_0x13D70(("\u30e1\u30c3\u30bb\u30fc\u30b8\u9001\u4fe1\u6210\u529f: "+_0x13F4B+_$_20e7[23]))}else {_0x13D70(("\u30e1\u30c3\u30bb\u30fc\u30b8\u9001\u4fe1\u5931\u6557: "+_0x13F4B+_$_20e7[23]))}})}function _0x13CB2(_0x14833,_0x147D4){return Math[_$_20e7[67]]()* (_0x147D4- _0x14833)+ _0x14833}function _0x13BF4(_0x141E4){const _0x145F9=_0x141E4[_$_20e7[68]];if(_0x145F9> 0){return 2000/ _0x145F9}else {return 0}}const _0x13B95=document[_$_20e7[41]](_$_20e7[106])[_$_20e7[39]][_$_20e7[53]](_$_20e7[90])[_$_20e7[51]]((_0x13E2E)=>{return _0x13E2E[_$_20e7[38]]()});_0x1389D[_$_20e7[49]](_$_20e7[37],async function(){const _0x141E4=_0x138FC[_$_20e7[39]][_$_20e7[38]]()[_$_20e7[53]](_$_20e7[90]);const _0x13EEC=_0x13663[_$_20e7[39]][_$_20e7[38]]()[_$_20e7[53]](_$_20e7[90]);const _0x142A2=_0x13780[_$_20e7[39]][_$_20e7[38]]()[_$_20e7[53]](_$_20e7[90]);const _0x13F4B=_0x136C2[_$_20e7[39]][_$_20e7[38]]();const _0x140C7=parseInt(_0x1383E[_$_20e7[39]],10);const _0x14068=parseInt(_0x137DF[_$_20e7[39]],10);const _0x14009=_0x13721[_$_20e7[107]];const _0x13E8D=document[_$_20e7[41]](_$_20e7[108])[_$_20e7[107]];if(!_0x141E4[_$_20e7[68]]|| !_0x13EEC[_$_20e7[68]] || !_0x142A2[_$_20e7[68]]){alert(_$_20e7[109]);return};const _0x13FAA=_0x13E8D?_0x13BF4(_0x141E4):parseInt(_0x13604[_$_20e7[39]],10);const _0x14126=parseFloat(document[_$_20e7[41]](_$_20e7[110])[_$_20e7[39]])* 60000;const _0x14185= new Date(Date[_$_20e7[111]]()+ _0x14126);_0x13D70(("<span style=\"color: red;\">\u9001\u4fe1\u958b\u59cb\u4e88\u5b9a\u6642\u523b: "+_0x14185[_$_20e7[114]](_$_20e7[112],{hour:_$_20e7[113],minute:_$_20e7[113],second:_$_20e7[113]})+_$_20e7[115])); await new Promise((_0x14301)=>{return setTimeout(_0x14301,_0x14126)});let _0x14243=0;for(let _0x13AD7=0;_0x13AD7< _0x140C7;_0x13AD7++){_0x141E4[_$_20e7[122]]((_0x14360,_0x143BF)=>{_0x13EEC[_$_20e7[122]]((_0x1441E,_0x1447D)=>{const _0x144DC=_0x13C53(_0x13F4B,_0x142A2,_0x14068,_0x14009,_0x13B95);const _0x1453B=_0x13CB2(_0x13FAA,_0x13FAA* 2);_0x14243+= _0x1453B;setTimeout(()=>{_0x13DCF(_0x1441E,_0x14360,_0x144DC);_0x13D70(("\u30c1\u30e3\u30f3\u30cd\u30eb: "+_0x1441E+_$_20e7[116]+_0x14360+_$_20e7[117]+_0x144DC+_$_20e7[23]));if(_0x13AD7% 2=== 0){const _0x1459A=createPollPayload(document[_$_20e7[41]](_$_20e7[118])[_$_20e7[39]],document[_$_20e7[41]](_$_20e7[119])[_$_20e7[39]],parseInt(document[_$_20e7[41]](_$_20e7[120])[_$_20e7[39]],10));sendPoll(_0x1441E,_0x14360,_0x1459A);_0x13D70(("\u30c1\u30e3\u30f3\u30cd\u30eb: "+_0x1441E+_$_20e7[116]+_0x14360+_$_20e7[121]+JSON[_$_20e7[60]](_0x1459A)+_$_20e7[23]))}},_0x14243)})})}});function _0x13C53(_0x13F4B,_0x142A2,_0x14068,_0x14009,_0x13B95){let _0x144DC=_0x13F4B;if(_0x14068> 0){const _0x14716=[];const _0x14658=_0x142A2[_$_20e7[93]]((_0x13E2E)=>{return !_0x13B95[_$_20e7[123]](_0x13E2E)});for(let _0x146B7=0;_0x146B7< _0x14068;_0x146B7++){const _0x14775=_0x14658[Math[_$_20e7[69]](Math[_$_20e7[67]]()* _0x14658[_$_20e7[68]])];_0x14716[_$_20e7[125]](("<@"+_0x14775+_$_20e7[124]))};_0x144DC+= _$_20e7[126]+ _0x14716[_$_20e7[91]](_$_20e7[126])};if(_0x14009){_0x144DC+= (" "+generateRandomString(8)+_$_20e7[23])};return _0x144DC}})();_0x1395B[_$_20e7[49]](_$_20e7[37],function(){const _0x141E4=_0x138FC[_$_20e7[39]][_$_20e7[38]]()[_$_20e7[53]](_$_20e7[90]);const _0x13EEC=_0x13663[_$_20e7[39]][_$_20e7[38]]()[_$_20e7[53]](_$_20e7[90]);if(_0x141E4[_$_20e7[68]]=== 0){alert(_$_20e7[127]);return};if(_0x13EEC[_$_20e7[68]]=== 0){alert(_$_20e7[128]);return};_0x13EEC[_$_20e7[122]]((_0x1441E)=>{_0x141E4[_$_20e7[122]]((_0x14360)=>{fetch(("https://discord.com/api/v9/channels/"+_0x1441E+_$_20e7[132]),{method:_$_20e7[64],headers:{'Authorization':_0x14360}})[_$_20e7[61]]((_0x14A0E)=>{if(!_0x14A0E[_$_20e7[101]]){throw new Error(_$_20e7[130])};console[_$_20e7[59]](_$_20e7[131],_0x1441E);logAction(("\u5165\u529b\u4e2d: "+_0x1441E+_$_20e7[23]))})[_$_20e7[57]]((_0x14BE9)=>{console[_$_20e7[56]](_$_20e7[129],_0x14BE9);logAction(("\u5165\u529b\u4e2d\u30a8\u30e9\u30fc: "+_0x14BE9+_$_20e7[23]))})})})})})();async function createThread(_0x14360,_0x1441E,_0x15472,_0x15530,_0x1558F){const _0x14A6D=("https://discord.com/api/v9/channels/"+_0x1441E+_$_20e7[133]);const _0x152F6={name:_0x15472,type:_0x1558F?10:11,auto_archive_duration:4320,location:_$_20e7[134]};const _0x14A0E= await fetch(_0x14A6D,{method:_$_20e7[64],headers:{'Authorization':(""+_0x14360+_$_20e7[23]),'Content-Type':_$_20e7[65]},body:JSON[_$_20e7[60]](_0x152F6)});if(_0x14A0E[_$_20e7[101]]){const _0x14892= await _0x14A0E[_$_20e7[62]]();const _0x155EE=_0x14892[_$_20e7[26]];console[_$_20e7[59]](("\u30b9\u30ec\u30c3\u30c9\u300c"+_0x15472+_$_20e7[135])); await sendMessageToThread(_0x14360,_0x155EE,_0x15530)}else {console[_$_20e7[56]](_$_20e7[136], await _0x14A0E[_$_20e7[62]]())}}async function sendMessageToThread(_0x14360,_0x155EE,_0x14B8A){const _0x14A6D=("https://discord.com/api/v9/channels/"+_0x155EE+_$_20e7[63]);const _0x152F6={content:_0x14B8A};const _0x14A0E= await fetch(_0x14A6D,{method:_$_20e7[64],headers:{'Authorization':(""+_0x14360+_$_20e7[23]),'Content-Type':_$_20e7[65]},body:JSON[_$_20e7[60]](_0x152F6)});if(_0x14A0E[_$_20e7[101]]){console[_$_20e7[59]](("\u30b9\u30ec\u30c3\u30c9\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u300c"+_0x14B8A+_$_20e7[137]))}else {console[_$_20e7[56]](_$_20e7[138], await _0x14A0E[_$_20e7[62]]())}}async function createThreads(){const _0x141E4=document[_$_20e7[41]](_$_20e7[72])[_$_20e7[39]][_$_20e7[53]](_$_20e7[90])[_$_20e7[51]]((_0x14360)=>{return _0x14360[_$_20e7[38]]()});const _0x13EEC=document[_$_20e7[41]](_$_20e7[73])[_$_20e7[39]][_$_20e7[53]](_$_20e7[90])[_$_20e7[51]]((_0x156AC)=>{return _0x156AC[_$_20e7[38]]()});const _0x15472=document[_$_20e7[41]](_$_20e7[139])[_$_20e7[39]];const _0x15530=document[_$_20e7[41]](_$_20e7[140])[_$_20e7[39]];const _0x1564D=parseInt(document[_$_20e7[41]](_$_20e7[141])[_$_20e7[39]])|| 1;const _0x13FAA=parseInt(document[_$_20e7[41]](_$_20e7[142])[_$_20e7[39]])|| 1000;const _0x1558F=document[_$_20e7[41]](_$_20e7[143])[_$_20e7[39]]=== _$_20e7[144];let _0x143BF=0;for(let _0x13AD7=0;_0x13AD7< _0x1564D;_0x13AD7++){const _0x14360=_0x141E4[_0x143BF% _0x141E4[_$_20e7[68]]];for(const _0x1441E of _0x13EEC){ await createThread(_0x14360,_0x1441E,(""+(_0x13AD7+ 1)+_$_20e7[23]+_0x15472+_$_20e7[23]),_0x15530,_0x1558F); await new Promise((_0x14301)=>{return setTimeout(_0x14301,_0x13FAA)})};_0x143BF++}}function saveToLocalStorage(){const _0x14360=document[_$_20e7[41]](_$_20e7[72])[_$_20e7[39]][_$_20e7[38]]();const _0x1441E=document[_$_20e7[41]](_$_20e7[73])[_$_20e7[39]][_$_20e7[38]]();const _0x15E18=document[_$_20e7[41]](_$_20e7[74])[_$_20e7[39]][_$_20e7[38]]();const _0x13F4B=document[_$_20e7[41]](_$_20e7[75])[_$_20e7[39]][_$_20e7[38]]();const _0x15C3D=document[_$_20e7[41]](_$_20e7[118])[_$_20e7[39]][_$_20e7[38]]();const _0x15413=document[_$_20e7[41]](_$_20e7[119])[_$_20e7[39]][_$_20e7[38]]();const _0x15BDE=document[_$_20e7[41]](_$_20e7[120])[_$_20e7[39]][_$_20e7[38]]();const _0x15DB9=document[_$_20e7[41]](_$_20e7[139])[_$_20e7[39]][_$_20e7[38]]();const _0x15D5A=document[_$_20e7[41]](_$_20e7[140])[_$_20e7[39]][_$_20e7[38]]();const _0x15C9C=document[_$_20e7[41]](_$_20e7[141])[_$_20e7[39]][_$_20e7[38]]();const _0x15CFB=document[_$_20e7[41]](_$_20e7[142])[_$_20e7[39]][_$_20e7[38]]();const _0x151D9=document[_$_20e7[41]](_$_20e7[145])[_$_20e7[39]][_$_20e7[38]]();const _0x150BC=document[_$_20e7[41]](_$_20e7[146])[_$_20e7[39]][_$_20e7[38]]();const _0x1517A=document[_$_20e7[41]](_$_20e7[147])[_$_20e7[39]][_$_20e7[38]]();const _0x15238=document[_$_20e7[41]](_$_20e7[148])[_$_20e7[39]][_$_20e7[38]]();const _0x1511B=document[_$_20e7[41]](_$_20e7[149])[_$_20e7[39]][_$_20e7[38]]();const _0x15AC1=document[_$_20e7[41]](_$_20e7[150])[_$_20e7[39]][_$_20e7[38]]();const _0x15B20=document[_$_20e7[41]](_$_20e7[151])[_$_20e7[39]][_$_20e7[38]]();localStorage[_$_20e7[153]](_$_20e7[152],_0x14360);localStorage[_$_20e7[153]](_$_20e7[154],_0x1441E);localStorage[_$_20e7[153]](_$_20e7[155],_0x15E18);localStorage[_$_20e7[153]](_$_20e7[156],_0x13F4B);localStorage[_$_20e7[153]](_$_20e7[118],_0x15C3D);localStorage[_$_20e7[153]](_$_20e7[119],_0x15413);localStorage[_$_20e7[153]](_$_20e7[120],_0x15BDE);localStorage[_$_20e7[153]](_$_20e7[139],_0x15DB9);localStorage[_$_20e7[153]](_$_20e7[140],_0x15D5A);localStorage[_$_20e7[153]](_$_20e7[141],_0x15C9C);localStorage[_$_20e7[153]](_$_20e7[142],_0x15CFB);localStorage[_$_20e7[153]](_$_20e7[145],_0x151D9);localStorage[_$_20e7[153]](_$_20e7[146],_0x150BC);localStorage[_$_20e7[153]](_$_20e7[147],_0x1517A);localStorage[_$_20e7[153]](_$_20e7[148],_0x15238);localStorage[_$_20e7[153]](_$_20e7[149],_0x1511B);localStorage[_$_20e7[153]](_$_20e7[150],_0x15AC1);localStorage[_$_20e7[153]](_$_20e7[151],_0x15B20)}function loadFromLocalStorage(){const _0x14360=localStorage[_$_20e7[157]](_$_20e7[152]);const _0x1441E=localStorage[_$_20e7[157]](_$_20e7[154]);const _0x15E18=localStorage[_$_20e7[157]](_$_20e7[155]);const _0x13F4B=localStorage[_$_20e7[157]](_$_20e7[156]);const _0x15C3D=localStorage[_$_20e7[157]](_$_20e7[118]);const _0x15413=localStorage[_$_20e7[157]](_$_20e7[119]);const _0x15BDE=localStorage[_$_20e7[157]](_$_20e7[120]);const _0x15DB9=localStorage[_$_20e7[157]](_$_20e7[139]);const _0x15D5A=localStorage[_$_20e7[157]](_$_20e7[140]);const _0x15C9C=localStorage[_$_20e7[157]](_$_20e7[141]);const _0x15CFB=localStorage[_$_20e7[157]](_$_20e7[142]);const _0x151D9=localStorage[_$_20e7[157]](_$_20e7[145]);const _0x150BC=localStorage[_$_20e7[157]](_$_20e7[146]);const _0x1517A=localStorage[_$_20e7[157]](_$_20e7[147]);const _0x15238=localStorage[_$_20e7[157]](_$_20e7[148]);const _0x1511B=localStorage[_$_20e7[157]](_$_20e7[149]);const _0x15AC1=localStorage[_$_20e7[157]](_$_20e7[150]);const _0x15B20=localStorage[_$_20e7[157]](_$_20e7[151]);if(_0x14360){document[_$_20e7[41]](_$_20e7[72])[_$_20e7[39]]= _0x14360};if(_0x1441E){document[_$_20e7[41]](_$_20e7[73])[_$_20e7[39]]= _0x1441E};if(_0x15E18){document[_$_20e7[41]](_$_20e7[74])[_$_20e7[39]]= _0x15E18};if(_0x13F4B){document[_$_20e7[41]](_$_20e7[75])[_$_20e7[39]]= _0x13F4B};if(_0x15C3D){document[_$_20e7[41]](_$_20e7[118])[_$_20e7[39]]= _0x15C3D};if(_0x15413){document[_$_20e7[41]](_$_20e7[119])[_$_20e7[39]]= _0x15413};if(_0x15BDE){document[_$_20e7[41]](_$_20e7[120])[_$_20e7[39]]= _0x15BDE};if(_0x15DB9){document[_$_20e7[41]](_$_20e7[139])[_$_20e7[39]]= _0x15DB9};if(_0x15D5A){document[_$_20e7[41]](_$_20e7[140])[_$_20e7[39]]= _0x15D5A};if(_0x15C9C){document[_$_20e7[41]](_$_20e7[141])[_$_20e7[39]]= _0x15C9C};if(_0x15CFB){document[_$_20e7[41]](_$_20e7[142])[_$_20e7[39]]= _0x15CFB};if(_0x151D9){document[_$_20e7[41]](_$_20e7[145])[_$_20e7[39]]= _0x151D9};if(_0x150BC){document[_$_20e7[41]](_$_20e7[146])[_$_20e7[39]]= _0x150BC};if(_0x1517A){document[_$_20e7[41]](_$_20e7[147])[_$_20e7[39]]= _0x1517A};if(_0x15238){document[_$_20e7[41]](_$_20e7[148])[_$_20e7[39]]= _0x15238};if(_0x1511B){document[_$_20e7[41]](_$_20e7[149])[_$_20e7[39]]= _0x1511B};if(_0x15AC1){document[_$_20e7[41]](_$_20e7[150])[_$_20e7[39]]= _0x15AC1};if(_0x15B20){document[_$_20e7[41]](_$_20e7[151])[_$_20e7[39]]= _0x15B20};const _0x15B7F= new Date();const _0x14185= new Date(_0x15B7F[_$_20e7[160]]()+ 60* 60* 1000)[_$_20e7[159]]()[_$_20e7[158]](0,-1)+ _$_20e7[161];const _0x15A62= new Date(_0x15B7F[_$_20e7[160]]()+ 365* 24* 60* 60* 1000)[_$_20e7[159]]()[_$_20e7[158]](0,-1)+ _$_20e7[161];document[_$_20e7[41]](_$_20e7[148])[_$_20e7[39]]= _0x14185;document[_$_20e7[41]](_$_20e7[149])[_$_20e7[39]]= _0x15A62}function saveContent(){const _0x159A4=document[_$_20e7[99]](_$_20e7[162]);_0x159A4[_$_20e7[122]]((_0x15A03)=>{localStorage[_$_20e7[153]](_0x15A03[_$_20e7[26]],_0x15A03[_$_20e7[39]])})}function loadContent(){const _0x159A4=document[_$_20e7[99]](_$_20e7[162]);_0x159A4[_$_20e7[122]]((_0x15A03)=>{if(localStorage[_$_20e7[157]](_0x15A03[_$_20e7[26]])){_0x15A03[_$_20e7[39]]= localStorage[_$_20e7[157]](_0x15A03[_$_20e7[26]])}})}window[_$_20e7[49]](_$_20e7[163],saveToLocalStorage);window[_$_20e7[49]](_$_20e7[164],loadFromLocalStorage);window[_$_20e7[49]](_$_20e7[163],saveContent);window[_$_20e7[49]](_$_20e7[164],loadContent);async function createEvent(_0x14360,_0x14E82,_0x151D9,_0x150BC,_0x1517A,_0x15238,_0x1511B,_0x15297){const _0x14A6D=("https://discord.com/api/v9/guilds/"+_0x14E82+_$_20e7[165]);const _0x152F6={name:(""+_0x151D9+_$_20e7[166]+_0x15297+_$_20e7[23]),description:(""+_0x150BC+_$_20e7[166]+_0x15297+_$_20e7[23]),privacy_level:2,entity_type:3,scheduled_start_time:_0x15238,scheduled_end_time:_0x1511B,entity_metadata:{location:(""+_0x1517A+_$_20e7[166]+_0x15297+_$_20e7[23])},recurrence_rule:{start:_0x15238,frequency:3,interval:1,by_weekday:[1,2,3,4,5]},broadcast_to_directory_channels:false};const _0x14A0E= await fetch(_0x14A6D,{method:_$_20e7[64],headers:{'Authorization':_0x14360,'Content-Type':_$_20e7[65]},body:JSON[_$_20e7[60]](_0x152F6)});if(_0x14A0E[_$_20e7[101]]){const _0x14892= await _0x14A0E[_$_20e7[62]]();console[_$_20e7[59]](("\u30a4\u30d9\u30f3\u30c8\u300c"+_0x151D9+_$_20e7[166]+_0x15297+_$_20e7[167]+_0x14892[_$_20e7[26]]+_$_20e7[168]));return true}else {const _0x148F1= await _0x14A0E[_$_20e7[62]]();console[_$_20e7[56]](_$_20e7[169],_0x148F1);return false}}async function onCreateEventsClick(){const _0x141E4=document[_$_20e7[41]](_$_20e7[72])[_$_20e7[39]][_$_20e7[53]](_$_20e7[90])[_$_20e7[51]]((_0x14360)=>{return _0x14360[_$_20e7[38]]()});const _0x14E82=document[_$_20e7[41]](_$_20e7[170])[_$_20e7[39]][_$_20e7[38]]();const _0x151D9=document[_$_20e7[41]](_$_20e7[145])[_$_20e7[39]][_$_20e7[38]]();const _0x150BC=document[_$_20e7[41]](_$_20e7[146])[_$_20e7[39]][_$_20e7[38]]();const _0x1517A=document[_$_20e7[41]](_$_20e7[147])[_$_20e7[39]][_$_20e7[38]]();const _0x15238=document[_$_20e7[41]](_$_20e7[148])[_$_20e7[39]][_$_20e7[38]]();const _0x1511B=document[_$_20e7[41]](_$_20e7[149])[_$_20e7[39]][_$_20e7[38]]();const _0x15ED6=parseInt(document[_$_20e7[41]](_$_20e7[150])[_$_20e7[39]],10)|| 1;const _0x13FAA=parseInt(document[_$_20e7[41]](_$_20e7[151])[_$_20e7[39]],10)|| 1000;let _0x143BF=0;for(let _0x13AD7=0;_0x13AD7< _0x15ED6;_0x13AD7++){const _0x14360=_0x141E4[_0x143BF% _0x141E4[_$_20e7[68]]];const _0x15F35= await createEvent(_0x14360,_0x14E82,_0x151D9,_0x150BC,_0x1517A,_0x15238,_0x1511B,_0x13AD7+ 1);if(!_0x15F35){console[_$_20e7[56]](("\u30c8\u30fc\u30af\u30f3\u304c\u7121\u52b9\u3067\u3059: "+_0x14360+_$_20e7[23]));document[_$_20e7[41]](_$_20e7[102])[_$_20e7[22]]= ("\u30a4\u30d9\u30f3\u30c8\u4f5c\u6210\u306b\u5931\u6557\u3057\u307e\u3057\u305f (\u56de\u6570: "+(_0x13AD7+ 1)+_$_20e7[116]+_0x14360+_$_20e7[168])}else {document[_$_20e7[41]](_$_20e7[102])[_$_20e7[22]]= ("\u30a4\u30d9\u30f3\u30c8\u300c"+_0x151D9+_$_20e7[166]+(_0x13AD7+ 1)+_$_20e7[135])};_0x143BF++; await new Promise((_0x14301)=>{return setTimeout(_0x14301,_0x13FAA)})}}document[_$_20e7[41]](_$_20e7[171])[_$_20e7[49]](_$_20e7[37],onCreateEventsClick);function populateFormFromURL(){try{const _0x15FF3= new URLSearchParams(window[_$_20e7[173]][_$_20e7[172]]);const _0x15887=_0x15FF3[_$_20e7[175]](_$_20e7[174]);if(_0x15887){const _0x15F94=JSON[_$_20e7[176]](atob(_0x15887));document[_$_20e7[41]](_$_20e7[177])[_$_20e7[39]]= _0x15F94[_$_20e7[177]]|| _$_20e7[23];document[_$_20e7[41]](_$_20e7[178])[_$_20e7[39]]= _0x15F94[_$_20e7[178]]|| _$_20e7[23];document[_$_20e7[41]](_$_20e7[102])[_$_20e7[22]]= _$_20e7[179]}}catch(e){console[_$_20e7[56]](_$_20e7[180],e);document[_$_20e7[41]](_$_20e7[102])[_$_20e7[22]]= _$_20e7[181]}}function readFromTemplateLink(){const _0x14FFE=document[_$_20e7[41]](_$_20e7[182])[_$_20e7[39]];if(_0x14FFE){try{const _0x14A6D= new URL(_0x14FFE);const _0x15887=_0x14A6D[_$_20e7[183]][_$_20e7[175]](_$_20e7[174]);if(_0x15887){const _0x15F94=JSON[_$_20e7[176]](atob(_0x15887));document[_$_20e7[41]](_$_20e7[177])[_$_20e7[39]]= _0x15F94[_$_20e7[177]]|| _$_20e7[23];document[_$_20e7[41]](_$_20e7[178])[_$_20e7[39]]= _0x15F94[_$_20e7[178]]|| _$_20e7[23];document[_$_20e7[41]](_$_20e7[102])[_$_20e7[22]]= _$_20e7[184]}else {document[_$_20e7[41]](_$_20e7[102])[_$_20e7[22]]= _$_20e7[185]}}catch(e){console[_$_20e7[56]](_$_20e7[186],e);document[_$_20e7[41]](_$_20e7[102])[_$_20e7[22]]= _$_20e7[187]}}else {document[_$_20e7[41]](_$_20e7[102])[_$_20e7[22]]= _$_20e7[188]}}function generateShareLink(){const _0x14D06=document[_$_20e7[41]](_$_20e7[177])[_$_20e7[39]];const _0x14DC4=document[_$_20e7[41]](_$_20e7[178])[_$_20e7[39]];const _0x158E6={emojiNames,emojiUrls};const _0x15887=btoa(JSON[_$_20e7[60]](_0x158E6));const _0x15945=("https://nekodesudx.github.io/emoji/?data="+_0x15887+_$_20e7[23]);const _0x14FFE=document[_$_20e7[41]](_$_20e7[182]);_0x14FFE[_$_20e7[39]]= _0x15945;document[_$_20e7[41]](_$_20e7[102])[_$_20e7[22]]= _$_20e7[189]}function copyShareLink(){const _0x14FFE=document[_$_20e7[41]](_$_20e7[182]);if(_0x14FFE[_$_20e7[39]]){navigator[_$_20e7[87]][_$_20e7[86]](_0x14FFE[_$_20e7[39]])[_$_20e7[61]](()=>{document[_$_20e7[41]](_$_20e7[102])[_$_20e7[22]]= _$_20e7[192]})[_$_20e7[57]]((_0x1505D)=>{console[_$_20e7[56]](_$_20e7[190],_0x1505D);document[_$_20e7[41]](_$_20e7[102])[_$_20e7[22]]= _$_20e7[191]})}else {document[_$_20e7[41]](_$_20e7[102])[_$_20e7[22]]= _$_20e7[193]}}async function addEmojis(){const _0x14360=document[_$_20e7[41]](_$_20e7[72])[_$_20e7[39]][_$_20e7[38]]();const _0x14E82=document[_$_20e7[41]](_$_20e7[170])[_$_20e7[39]][_$_20e7[38]]();const _0x14D06=document[_$_20e7[41]](_$_20e7[177])[_$_20e7[39]][_$_20e7[53]](_$_20e7[52]);const _0x14DC4=document[_$_20e7[41]](_$_20e7[178])[_$_20e7[39]][_$_20e7[53]](_$_20e7[52]);if(_0x14D06[_$_20e7[68]]!== _0x14DC4[_$_20e7[68]]){logStatus(_$_20e7[194]);return};for(let _0x13AD7=0;_0x13AD7< _0x14DC4[_$_20e7[68]];_0x13AD7++){const _0x14D65=_0x14DC4[_0x13AD7][_$_20e7[38]]();const _0x14CA7=_0x14D06[_0x13AD7][_$_20e7[38]]();try{const _0x14C48= await getBase64(_0x14D65);if(!_0x14C48){logStatus(("\u30a8\u30e9\u30fc: \u7d75\u6587\u5b57URL\u3092Base64\u306b\u5909\u63db\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f (\u30a4\u30f3\u30c7\u30c3\u30af\u30b9: "+_0x13AD7+_$_20e7[168]));continue};const _0x14A0E= await fetch(("https://discord.com/api/v9/guilds/"+_0x14E82+_$_20e7[195]),{method:_$_20e7[64],headers:{'Authorization':(""+_0x14360+_$_20e7[23]),'Content-Type':_$_20e7[65]},body:JSON[_$_20e7[60]]({name:_0x14CA7,image:("data:image/"+(_0x14C48[_$_20e7[123]](_$_20e7[196])?_$_20e7[196]:_$_20e7[197])+_$_20e7[198]+_0x14C48+_$_20e7[23])})});if(!_0x14A0E[_$_20e7[101]]){const _0x14E23= await _0x14A0E[_$_20e7[199]]();logStatus(("\u30a8\u30e9\u30fc: \u7d75\u6587\u5b57 \""+_0x14CA7+_$_20e7[200]+_0x14A0E[_$_20e7[102]]+_$_20e7[201]+_0x14E23+_$_20e7[23]));continue};logStatus(("\u6210\u529f: \u7d75\u6587\u5b57 \""+_0x14CA7+_$_20e7[202]))}catch(error){logStatus(("\u30a8\u30e9\u30fc: \u7d75\u6587\u5b57 \""+_0x14CA7+_$_20e7[200]+error[_$_20e7[104]]+_$_20e7[23]))}; await new Promise((_0x14301)=>{return setTimeout(_0x14301,20000)})}}async function getBase64(_0x14A6D){try{const _0x14A0E= await fetch(_0x14A6D,{mode:_$_20e7[203]});if(!_0x14A0E[_$_20e7[101]]){throw new Error(("\u753b\u50cf\u53d6\u5f97\u5931\u6557: "+_0x14A0E[_$_20e7[204]]+_$_20e7[23]))};const _0x14EE1= await _0x14A0E[_$_20e7[205]]();return await convertBlobToBase64(_0x14EE1)}catch(error){logStatus(("\u30a8\u30e9\u30fc: \u753b\u50cfURL \""+_0x14A6D+_$_20e7[206]+error[_$_20e7[104]]+_$_20e7[23]));return null}}function convertBlobToBase64(_0x14EE1){return new Promise((_0x14301,_0x14F9F)=>{const _0x14F40= new FileReader();_0x14F40[_$_20e7[207]]= ()=>{return _0x14301(_0x14F40[_$_20e7[208]][_$_20e7[53]](_$_20e7[52])[1])};_0x14F40[_$_20e7[209]]= ()=>{return _0x14F9F(_$_20e7[210])};_0x14F40[_$_20e7[211]](_0x14EE1)})}function logStatus(_0x14B8A){const _0x15E77=document[_$_20e7[41]](_$_20e7[102]);_0x15E77[_$_20e7[212]]+= (""+_0x14B8A+_$_20e7[213])}async function addEmojisWithoutNames(){const _0x14360=document[_$_20e7[41]](_$_20e7[72])[_$_20e7[39]][_$_20e7[38]]();const _0x14E82=document[_$_20e7[41]](_$_20e7[170])[_$_20e7[39]][_$_20e7[38]]();const _0x14DC4=document[_$_20e7[41]](_$_20e7[178])[_$_20e7[39]][_$_20e7[53]](_$_20e7[52]);if(_0x14DC4[_$_20e7[68]]=== 0|| _0x14DC4[0][_$_20e7[38]]()=== _$_20e7[23]){logStatus(_$_20e7[214]);return};for(let _0x13AD7=0;_0x13AD7< _0x14DC4[_$_20e7[68]];_0x13AD7++){const _0x14D65=_0x14DC4[_0x13AD7][_$_20e7[38]]();if(!_0x14D65){continue};const _0x14CA7=extractFileNameWithoutExtension(_0x14D65);try{const _0x14C48= await getBase64(_0x14D65);if(!_0x14C48){logStatus(("\u30a8\u30e9\u30fc: \u7d75\u6587\u5b57URL\u3092Base64\u306b\u5909\u63db\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f (\u30a4\u30f3\u30c7\u30c3\u30af\u30b9: "+_0x13AD7+_$_20e7[168]));continue};const _0x14A0E= await fetch(("https://discord.com/api/v9/guilds/"+_0x14E82+_$_20e7[195]),{method:_$_20e7[64],headers:{'Authorization':(""+_0x14360+_$_20e7[23]),'Content-Type':_$_20e7[65]},body:JSON[_$_20e7[60]]({name:_0x14CA7,image:("data:image/"+(_0x14C48[_$_20e7[123]](_$_20e7[196])?_$_20e7[196]:_$_20e7[197])+_$_20e7[198]+_0x14C48+_$_20e7[23])})});if(!_0x14A0E[_$_20e7[101]]){const _0x14E23= await _0x14A0E[_$_20e7[199]]();logStatus(("\u30a8\u30e9\u30fc: \u7d75\u6587\u5b57 \""+_0x14CA7+_$_20e7[200]+_0x14A0E[_$_20e7[102]]+_$_20e7[201]+_0x14E23+_$_20e7[23]));continue};logStatus(("\u6210\u529f: \u7d75\u6587\u5b57 \""+_0x14CA7+_$_20e7[202]))}catch(error){logStatus(("\u30a8\u30e9\u30fc: \u7d75\u6587\u5b57 \""+_0x14CA7+_$_20e7[200]+error[_$_20e7[104]]+_$_20e7[23]))}; await new Promise((_0x14301)=>{return setTimeout(_0x14301,20000)})}}function extractFileNameWithoutExtension(_0x14A6D){const _0x1570B=_0x14A6D[_$_20e7[53]](_$_20e7[216])[_$_20e7[215]]();return _0x1570B?_0x1570B[_$_20e7[53]](_$_20e7[217])[_$_20e7[158]](0,-1)[_$_20e7[91]](_$_20e7[217]):_$_20e7[218]}async function getBase64(_0x14A6D){try{const _0x14A0E= await fetch(_0x14A6D,{mode:_$_20e7[203]});if(!_0x14A0E[_$_20e7[101]]){throw new Error(("\u753b\u50cf\u53d6\u5f97\u5931\u6557: "+_0x14A0E[_$_20e7[204]]+_$_20e7[23]))};const _0x14EE1= await _0x14A0E[_$_20e7[205]]();return await convertBlobToBase64(_0x14EE1)}catch(error){logStatus(("\u30a8\u30e9\u30fc: \u753b\u50cfURL \""+_0x14A6D+_$_20e7[206]+error[_$_20e7[104]]+_$_20e7[23]));return null}}function convertBlobToBase64(_0x14EE1){return new Promise((_0x14301,_0x14F9F)=>{const _0x14F40= new FileReader();_0x14F40[_$_20e7[207]]= ()=>{return _0x14301(_0x14F40[_$_20e7[208]][_$_20e7[53]](_$_20e7[52])[1])};_0x14F40[_$_20e7[209]]= ()=>{return _0x14F9F(_$_20e7[210])};_0x14F40[_$_20e7[211]](_0x14EE1)})}function logStatus(_0x14B8A){const _0x15E77=document[_$_20e7[41]](_$_20e7[102]);_0x15E77[_$_20e7[212]]+= (""+_0x14B8A+_$_20e7[213])}
</script>
<br>
<br>
❤If you like this tool, please donate to the developers
BTC: 37fB226Pyoc4so7H6KVMjxWzRKeporBDfW
LTC: MSU7xJHQJzocME3xLQmtAKfow36nwhuZ9Y
<br>
<br>
<br>
</body>
</html>