𝗗𝗔π—₯π—₯π—˜π—Ÿπ—Ÿ π— π—¨π—–π—›π—˜π—₯π—œ ⚑ commited on
Commit
7709c74
Β·
unverified Β·
1 Parent(s): 5d18002

Update tools-pair.js

Browse files
Files changed (1) hide show
  1. plugins/tools-pair.js +58 -27
plugins/tools-pair.js CHANGED
@@ -1,42 +1,73 @@
1
-
2
  const {
3
  cmd,
4
  commands
5
- } = require("../command");
6
  const {
7
- getBuffer,
8
- getGroupAdmins,
9
- getRandom,
10
- h2k,
11
- isUrl,
12
- Json,
13
- sleep,
14
  fetchJson
15
- } = require("../lib/functions");
16
  cmd({
17
  'pattern': 'pair',
18
- 'alias': ["register", 'link'],
19
- 'react': 'πŸ”’',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  'desc': "pair",
21
  'category': 'download',
22
- 'use': ".pair +263719647303",
23
  'filename': __filename
24
- }, async (_0x5b297c, _0x3a3e44, _0xefafe8, {
25
- from: _0x5aafb9,
26
- prefix: _0x322641,
27
- quoted: _0x587384,
28
- q: _0x560654,
29
- reply: _0x2b55a0
 
30
  }) => {
31
  try {
32
- if (!_0x560654) {
33
- return await _0x2b55a0("*Example - :* .pair +263719647303");
 
 
 
34
  }
35
- const _0x29763b = await fetchJson("https://subxero-session-id.onrender.com/code?number=" + _0x560654);
36
- const _0x4b5713 = _0x29763b.code;
37
- _0xefafe8.reply(_0x4b5713 + "\n\n" + "`Here Is Your SubZero MD pair code...βœ…`");
38
- } catch (_0x5be2b9) {
39
- console.log(_0x5be2b9);
40
- _0x2b55a0(_0x5be2b9);
 
 
41
  }
42
  });
 
 
1
  const {
2
  cmd,
3
  commands
4
+ } = require('../command');
5
  const {
 
 
 
 
 
 
 
6
  fetchJson
7
+ } = require('../lib/functions');
8
  cmd({
9
  'pattern': 'pair',
10
+ 'alias': ["getpair", "clone"],
11
+ 'react': 'βœ…',
12
+ 'desc': "pair",
13
+ 'category': "download",
14
+ 'use': ".pair +18062212660",
15
+ 'filename': __filename
16
+ }, async (_0x53ef81, _0x3fcf12, _0x1cac84, {
17
+ from: _0x2eaa93,
18
+ prefix: _0x329d70,
19
+ quoted: _0x297544,
20
+ q: _0x283a2f,
21
+ reply: _0x20e232,
22
+ isGroup: _0x17a4ed
23
+ }) => {
24
+ try {
25
+ if (_0x17a4ed) {
26
+ return await _0x20e232("❌ This command is not allowed in group chats. Please use it in my inbox.");
27
+ }
28
+ if (!_0x283a2f) {
29
+ return await _0x20e232("*Example - :* .pair +263719647XXX");
30
+ }
31
+ await _0x20e232("*Getting pairing code...*");
32
+ const _0x4504a8 = await fetchJson("https://subxero-session-id.onrender.com/code?number=" + _0x283a2f);
33
+ const _0x4bc4f7 = _0x4504a8.code;
34
+ await _0x1cac84.reply('' + _0x4bc4f7);
35
+ await _0x1cac84.reply("> *Use the above pairing code to get your session id for SUBZERO MD.*");
36
+ } catch (_0x978c45) {
37
+ console.error(_0x978c45);
38
+ _0x20e232("An error occurred: " + _0x978c45.message);
39
+ }
40
+ });
41
+ cmd({
42
+ 'pattern': 'pair2',
43
+ 'alias': ['getpair2', "clone2"],
44
+ 'react': '✨',
45
  'desc': "pair",
46
  'category': 'download',
47
+ 'use': ".pair +263718XXX",
48
  'filename': __filename
49
+ }, async (_0x44077a, _0x16a498, _0x33b7ac, {
50
+ from: _0x2edf8e,
51
+ prefix: _0x5cec58,
52
+ quoted: _0x42fdaa,
53
+ q: _0x648b91,
54
+ reply: _0x205d46,
55
+ isGroup: _0x5953bb
56
  }) => {
57
  try {
58
+ if (_0x5953bb) {
59
+ return await _0x205d46("❌ This command is not allowed in group chats. Please use it in my inbox.");
60
+ }
61
+ if (!_0x648b91) {
62
+ return await _0x205d46("*Example - :* .pair2 +263719647XXX");
63
  }
64
+ await _0x205d46("*Getting pairing code...*");
65
+ const _0x354115 = await fetchJson('https://subxero-session-id.onrender.com/code?number=' + _0x648b91);
66
+ const _0x35dcc0 = _0x354115.code;
67
+ await _0x33b7ac.reply('' + _0x35dcc0);
68
+ await _0x33b7ac.reply("> *Use the above pairing code to get your session id for SUBZERO-MD.*");
69
+ } catch (_0x4da84d) {
70
+ console.error(_0x4da84d);
71
+ _0x205d46("An error occurred: " + _0x4da84d.message);
72
  }
73
  });