fca-priyansh 10.1.0 → 10.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@ var ctx = c.getContext("2d");
3
3
  var mask;
4
4
 
5
5
  var pointCount = 500;
6
- var str = "Horizon";
6
+ var str = "Priyansh";
7
7
  var fontStr = "bold 100pt Helvetica Neue, Helvetica, Arial, sans-serif";
8
8
 
9
9
  ctx.font = fontStr;
package/index.js CHANGED
@@ -51,8 +51,7 @@ global.Fca = new Object({
51
51
  "AutoRestartMinutes": 0,
52
52
  "HTML": {
53
53
  "HTML": true,
54
- "UserName": "Guest",
55
- "MusicLink": "https://drive.google.com/uc?id=1zlAALlxk1TnO7jXtEP_O6yvemtzA2ukA&export=download"
54
+ "UserName": "Guest"
56
55
  }
57
56
  },
58
57
  CountTime: function() {
@@ -195,63 +194,63 @@ var Boolean_Option = ['online','selfListen','listenEvents','updatePresence','for
195
194
 
196
195
  /!-[ Set And Check Template HTML ]-!/
197
196
 
198
- var css = readFileSync(join(__dirname, 'Extra', 'Html', 'Classic', 'style.css'));
199
- var js = readFileSync(join(__dirname, 'Extra', 'Html', 'Classic', 'script.js'));
200
-
201
- /!-[ Function Generate HTML Template ]-!/
202
-
203
- /**
204
- * It returns a string of HTML code.
205
- * @param UserName - The username of the user
206
- * @param Type - The type of user, either "Free" or "Premium"
207
- * @param link - The link to the music you want to play
208
- * @returns A HTML file
209
- */
210
-
211
- function ClassicHTML(UserName,Type,link) {
212
- return `<!DOCTYPE html>
213
- <html lang="en" >
214
- <head>
215
- <meta charset="UTF-8">
216
- <title>Horizon</title>
217
- <link rel="stylesheet" href="./style.css">
218
- </head>
219
- <body>
220
- <center>
221
- <marquee><b>waiting for u :d</b></marquee>
222
- <h2>Horizon User Infomation</h2>
223
- <h3>UserName: ${UserName} | Type: ${Type}</h3>
224
- <canvas id="myCanvas"></canvas>
225
- <script src="./script.js"></script>
226
- <footer class="footer">
227
- <div id="music">
228
- <audio autoplay="false" controls="true" loop="true" src="${link}" __idm_id__="5070849">Your browser does not support the audio element.</audio>
229
- <br><b>Session ID:</b> ${global.Fca.Require.Security.create().uuid}<br>
230
- <br>Thanks For Using <b>fca-priyansh</b> - From <b>Priyansh</b> <3<br>
231
- </div>
232
- </footer>
233
- </div>
234
- </center>
235
- </html>
236
- </body>`
237
- //lazy to change
238
- }
239
-
240
- /!-[ Stating Http Infomation ]-!/
241
-
242
- express.set('DFP', (process.env.PORT || process.env.port || 1932));
243
- express.use(function(req, res, next) {
244
- switch (req.url.split('?')[0]) {
245
- case '/script.js': {
246
- res.writeHead(200, { 'Content-Type': 'text/javascript' });
247
- res.write(js);
248
- break;
249
- }
250
- case '/style.css': {
251
- res.writeHead(200, { 'Content-Type': 'text/css' });
252
- res.write(css);
253
- break;
254
- }
197
+ // var css = readFileSync(join(__dirname, 'Extra', 'Html', 'Classic', 'style.css'));
198
+ // var js = readFileSync(join(__dirname, 'Extra', 'Html', 'Classic', 'script.js'));
199
+
200
+ // /!-[ Function Generate HTML Template ]-!/
201
+
202
+ // /**
203
+ // * It returns a string of HTML code.
204
+ // * @param UserName - The username of the user
205
+ // * @param Type - The type of user, either "Free" or "Premium"
206
+ // * @param link - The link to the music you want to play
207
+ // * @returns A HTML file
208
+ // */
209
+
210
+ // function ClassicHTML(UserName,Type,link) {
211
+ // return `<!DOCTYPE html>
212
+ // <html lang="en" >
213
+ // <head>
214
+ // <meta charset="UTF-8">
215
+ // <title>Horizon</title>
216
+ // <link rel="stylesheet" href="./style.css">
217
+ // </head>
218
+ // <body>
219
+ // <center>
220
+ // <marquee><b>waiting for u :d</b></marquee>
221
+ // <h2>Horizon User Infomation</h2>
222
+ // <h3>UserName: ${UserName} | Type: ${Type}</h3>
223
+ // <canvas id="myCanvas"></canvas>
224
+ // <script src="./script.js"></script>
225
+ // <footer class="footer">
226
+ // <div id="music">
227
+ // <audio autoplay="false" controls="true" loop="true" src="${link}" __idm_id__="5070849">Your browser does not support the audio element.</audio>
228
+ // <br><b>Session ID:</b> ${global.Fca.Require.Security.create().uuid}<br>
229
+ // <br>Thanks For Using <b>fca-priyansh</b> - From <b>Priyansh</b> <3<br>
230
+ // </div>
231
+ // </footer>
232
+ // </div>
233
+ // </center>
234
+ // </html>
235
+ // </body>`
236
+ // //lazy to change
237
+ // }
238
+
239
+ // /!-[ Stating Http Infomation ]-!/
240
+
241
+ // express.set('DFP', (process.env.PORT || process.env.port || 1932));
242
+ // express.use(function(req, res, next) {
243
+ // switch (req.url.split('?')[0]) {
244
+ // case '/script.js': {
245
+ // res.writeHead(200, { 'Content-Type': 'text/javascript' });
246
+ // res.write(js);
247
+ // break;
248
+ // }
249
+ // case '/style.css': {
250
+ // res.writeHead(200, { 'Content-Type': 'text/css' });
251
+ // res.write(css);
252
+ // break;
253
+ // }
255
254
  // case '/History': {
256
255
  // if (req.query.PassWord == process.env.REPL_OWNER) {
257
256
  // res.writeHead(200, { 'Content-Type': 'application/json charset=utf-8' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fca-priyansh",
3
- "version": "10.1.0",
3
+ "version": "10.2.1",
4
4
  "description": "Facebook-chat-api made by Priyansh rajput",
5
5
  "main": "index.js",
6
6
  "scripts": {