This repository has been archived by the owner on Feb 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
279 lines (223 loc) · 10.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Simple Bot Creator</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-+YQ4JLhjyBLPDQt//I+STsc9iw4uQqACwlvpslubQzn4u2UU2UFM80nGisd026JF" crossorigin="anonymous"></script>
<link href="vendor/style/main.css" rel="stylesheet">
<link rel="stylesheet" href="vendor/style/log-colors.css">
<link rel="stylesheet" href="vendor/style/org.css">
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
<a class="botavatar" id="botavatar"></a>
<ul class="navbar-nav mr-auto"></ul>
<a class="navbar-brand" id="botname">Bot Name</a>
</nav>
<!-- Page Content -->
<div id="start" style="margin-top: 30px;" class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h1 class="mt-5">Welcome To Simple Bot Creator</h1>
<p class="lead">Created By Hadi.Az</p>
<div class="down20 row">
<div class="col-4">
<div class="list-group" id="list-tab" role="tablist">
<a class="list-group-item list-group-item-action active" id="list-home-list" data-toggle="list" href="#list-home" role="tab" aria-controls="home">Start</a>
<a class="list-group-item list-group-item-action" id="list-profile-list" data-toggle="list" href="#list-token" role="tab" aria-controls="profile">Bot Token</a>
<a class="list-group-item list-group-item-action" id="list-presence-list" data-toggle="list" href="#list-presence" role="tab" aria-controls="messages">Presence</a>
<a class="list-group-item list-group-item-action" id="list-end-list" data-toggle="list" href="#list-end" role="tab" aria-controls="end">End</a>
</div>
</div>
<div class="col-8">
<div class="tab-content" id="nav-tabContent">
<div class="tab-pane fade show active" id="list-home" role="tabpanel" aria-labelledby="list-home-list">Welcome To Simple Bot Creator</br>Please read this document before using the application</br>Any Question ?! Feel Free By Sending My Massage In Discord : -its^Hadi.Az^#1405</div>
<div class="tab-pane fade" id="list-token" role="tabpanel" aria-labelledby="list-token-list">In this field, please enter the token that you got from the</br>discord.com/developers</br>Make sure you copy the token correctly !!</br><img class="token-img" src="./vendor/img/token.png" /></div>
<div class="tab-pane fade" id="list-presence" role="tabpanel" aria-labelledby="list-presence-list">Available types for Presence are the following</br>Status : <span class="online">online</span> / <span class="dnd">dnd</span> / <span class="idle">idle</span> / <span class="invis">invisible</span>
</br>
<img class="presence-img" src="./vendor/img/online.png"><img class="presence-img" src="./vendor/img/dnd.png"><img class="presence-img" src="./vendor/img/idle.png"><img class="presence-img" src="./vendor/img/invis.png">
</br>
Activity Name : Can Be Every Thing
</br>
Activity Type : <span>PLAYING <span style="color: red;"> / </span> LISTENING <span style="color: red;"> / </span> WATCHING</span>
</br>
<img class="type-img" src="./vendor/img/PLAYING.png"><img class="type-img" src="./vendor/img/LISTENING.png"><img class="type-img" src="./vendor/img/WATCHING.png">
</div>
<div class="tab-pane fade" id="list-end" role="tabpanel" aria-labelledby="list-end-list">Click on the red button on the end of page to close the application</br>Any Question ?! Feel Free By Sending My Massage In Discord : -its^Hadi.Az^#1405</br>Github: www.github.com/hadiazt</div>
</div>
</div>
</div>
<div class="down10 input-group">
<div class="input-group-prepend">
<span class="input-group-text">Bot Token</span>
</div>
<input type="text" id="token" placeholder="Bot Token" class="form-control">
</div>
<div class="down10 input-group">
<div class="input-group-prepend">
<span class="input-group-text">Activity Name</span>
</div>
<input type="text" id="activity_name" placeholder="Activity Name" class="form-control">
</div>
<select id="activity_type" class="down10 custom-select">
<option selected>Activity Type</option>
<option >PLAYING</option>
<option >LISTENING</option>
<option >WATCHING</option>
</select>
<select id="status" class="down10 custom-select">
<option selected>Status</option>
<option class="online">online</option>
<option class="idle">idle</option>
<option class="dnd">dnd</option>
<option class="invis">invisible</option>
</select>
<div class="down10 input-group">
<div class="input-group-prepend">
<span class="input-group-text" >If Message Content </span>
</div>
<textarea class="form-control" id="ifmsg" aria-label="With textarea"></textarea>
</div>
<div class="down10 input-group">
<div class="input-group-prepend">
<span class="input-group-text" >Bot Reply With</span>
</div>
<textarea class="form-control" id="msgsend" aria-label="With textarea"></textarea>
</div>
<div class="down10 input-group">
<div class="input-group-prepend">
<span class="input-group-text">Bot Owner User + tag<span style="color: red;"> / </span> Bot Owner User ID</span>
</div>
<input type="text" id="owner_name_tag" placeholder="-its^Hadi.Az^#1405" class="form-control">
<input type="text" id="owner_id" placeholder="490519932292038659" class="form-control">
</div>
<div class="down10">
<a>
<button type="button" class="btn btn-success" onclick="getinfo()">login</button>
</a>
<a href="#start">
<button type="button" class="btn btn-warning">Scroll Up</button>
</a>
</div>
<div class="build-view limit-width">
<div class="flex justify-between">
<div class="page-breadcrumb">
<h3 style="text-align: left;">Bot Log</h3>
</div>
</div>
<div class="build-stream build-stream-full ember-view">
<div class="build-stream-output">
<pre id="errorbox" class="build-stream-line" style="text-align: left;">Every Error Will Be Log Here</pre>
</div>
</div>
</div>
</div>
</div>
</div>
<h1 id="info" class="title"> Presence </h1>
<div class="card-columns">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Status</h5>
<p class="card-text"><b id="presence"></b></p>
</div>
</div>
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Activity</h5>
<p class="card-text"><b id="activity"></b></p>
</div>
</div>
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Type</h5>
<p class="card-text"><b id="type"></b></p>
</div>
</div>
</div>
<h1 class="title"> Stats </h1>
<div class="card-columns">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Guilds</h5>
<p class="card-text"><b id="guilds"></b></p>
</div>
</div>
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Users</h5>
<p class="card-text"><b id="users"></b></p>
</div>
</div>
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Channels</h5>
<p class="card-text"><b id="channels"></b></p>
</div>
</div>
</div>
<h1 class="title"> System Stats </h1>
<div class="card-columns">
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">System Uptime</h5>
<p class="card-text"><b id="up"></b></p>
</div>
</div>
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Total Memory</h5>
<p class="card-text"><b id="memorytotal"></b></p>
</div>
</div>
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Memory Usage</h5>
<p class="card-text"><b id="memoryus"></b></p>
</div>
</div>
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Host Name</h5>
<p class="card-text"><b id="hostname"></b></p>
</div>
</div>
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Platform</h5>
<p class="card-text"><b id="platform"></b></p>
</div>
</div>
<div class="card text-center">
<div class="card-body">
<h5 class="card-title">Type</h5>
<p class="card-text"><b id="typesys"></b></p>
</div>
</div>
</div>
<div class="down20 container">
<div class="row">
<div class="col-lg-12 text-center">
<button type="button" class="btn btn-danger" onclick="exitapp()">Close Application</button>
</div>
</div>
</div>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="vendor/bot.js"></script>
<script>
//load in node libraries
require('./renderer.js')
</script>
</body>
</html>