-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
192 lines (157 loc) · 6.34 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
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>AARR DM</title>
<meta name="description" content="グループDMツールです">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#FF0000">
<meta property="og:url" content="">
<meta property="og:type" content="article">
<meta property="og:title" content="AARR DM">
<meta property="og:description" content="DMツールです">
<meta property="og:site_name" content="荒らし連合軍">
<meta property="og:image" content="https://i.imgur.com/JTkB9AC.png">
<link rel="stylesheet" href="style.css">
<style>
body, h1, p, label, a, button {
color: white;
}
#status {
width: 100%;
height: 150px;
margin-top: 20px;
padding: 10px;
border: 1px solid #ccc;
background-color: #333;
color: white;
overflow-y: scroll;
white-space: pre-wrap;
}
body {
font-family: Arial, sans-serif;
background-color: #0f0f0f;
color: #fff;
margin: 0;
padding: 20px;
display: flex;
justify-content: flex-start;
align-items: flex-start;
flex-direction: column;
}
form {
display: flex;
flex-direction: column;
max-width: 400px;
}
label {
margin-top: 10px;
color: #fff;
}
input, textarea {
width: 30%;
max-width: 400px;
margin-top: 5px;
padding: 10px;
font-size: 16px;
background-color: #333;
border: 1px solid #ccc;
border-radius: 0;
color: white;
outline: none;
}
textarea {
height: 100px;
}
button {
cursor: pointer;
background-color: #333333;
color: white;
border: none;
padding: 10px 20px;
border-radius: 0px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
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);
}
body, h1, p, label, a, button {
color: white;
}
</style>
</head>
<body>
<h1>Mass Group Manager</h1>
<label for="token">Token:</label>
<input type="text" id="token" name="token" required>
<button type="button" onclick="copyToClipboard('token')">Copy</button>
<label for="groupId">Group ID (Create/Send Message/Change Icon/Change Name):</label>
<textarea id="groupId" name="groupId" rows="10"></textarea>
<button type="button" onclick="copyToClipboard('groupId')">Copy</button>
<button type="button" onclick="createGroups()">Create Groups (Rate Limit: 10 times/10 min)</button>
<label for="userIds">User IDs (Enter line by line):</label>
<textarea id="userIds" name="userIds" rows="10"></textarea>
<label for="modifyGroupId">Group ID (Add Users):</label>
<textarea id="modifyGroupId" name="modifyGroupId" rows="10" class="textOutput"></textarea>
<button type="button" onclick="copyToClipboard('modifyGroupId')">Copy</button>
<p>⚠️ Groups where user addition is completed will be automatically removed from the input field</p>
<label for="startDelay">Start time for adding users (minutes later):</label>
<input type="number" id="startDelay" name="startDelay" value="0" min="0">
<button type="button" onclick="copyToClipboard('userIds')">Copy</button>
<button type="button" onclick="addUsers()">Add Users (Rate Limit: 10 times/120 seconds)</button>
<label for="message">Message to Send:</label>
<input type="text" id="message" name="message">
<label for="delay">Delay for sending messages (seconds):</label>
<input type="number" id="delay" name="delay" value="1" min="0.1" step="0.1">
<button type="button" onclick="sendMessage()">Send Message</button>
<label for="baseNames">Group Names (Change) - Specify multiple with commas:</label>
<input type="text" id="baseNames" name="baseNames">
<button type="button" onclick="changeGroupNames()">Change Group Names</button>
<label for="iconUrl">Icon Image URL:</label>
<input type="text" id="iconUrl" name="iconUrl">
<button type="button" onclick="changeGroupIcons()">Change Group Icons</button>
<div class="dividing">
<p class="sectionTitle">Friend Invite URL</p>
<button type="button" class="sectionButton" id="createFriendInvite">Create Link</button>
</div>
<div class="dividing">
<input type="text" id="friendInviteUrl" class="textOutput" readonly>
<button type="button" class="sectionButton" onclick="copyToClipboard('friendInviteUrl')">Copy</button>
</div>
</form>
<p id="status">Status: Ready</p>
<ul id="errorLog"></ul>
<script src="script.js"></script>
<script>
function logError(message) {
const errorLog = document.getElementById('errorLog');
const listItem = document.createElement('li');
listItem.textContent = message;
errorLog.appendChild(listItem);
}
window.onerror = function(message, source, lineno, colno, error) {
logError(`[Error] ${message} at ${source}:${lineno}:${colno}`);
};
</script>
❤If you like this tool, please donate to the developers
BTC: 37fB226Pyoc4so7H6KVMjxWzRKeporBDfW
LTC: MSU7xJHQJzocME3xLQmtAKfow36nwhuZ9Y
<p>Note: discord has a rate limit of a few minutes to create a group and add members (addition is recommended at night)</p>.
<p>You cannot add members while creating a group.
<p>Your entries will not be saved. Please make a note of them by pressing the copy button before closing or reloading the page</p
<p>Only 10 members can be added to one group. Please do not enter a group ID that has been used for 10 members</p
<p>Do not press any buttons or press any other buttons while performing an action</p
<p>Make sure to keep this tab open. If you close the browser during the operation, you will have to start over to add a group, which will cause a bug because it will send an add request to the same group</p
<p>If you close your browser, please delete the already added group manually from the ID entry field</p
<a href=“https://github.com/NEKODESUDX/DMID-cleaner” target=“_blank”>Tool to delete unjoined group IDs and retrieve all IDs</a>.
<a href=“https://discord.gg/DPmPdpcNqs” target=“_blank”>Developer Support Server (discord)</a>
<a href=“https://youtu.be/NTrzk7bxotg?si=Nd482zjloHVn6V4R” target=“_blank”>How to get token(youtube)</a>
</body>
</html>