forked from iamNVN/SDMN_CheckerBot
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.php
More file actions
147 lines (116 loc) · 4.19 KB
/
main.php
File metadata and controls
147 lines (116 loc) · 4.19 KB
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
<?php
include __DIR__."/config/config.php";
include __DIR__."/config/variables.php";
include __DIR__."/functions/bot.php";
include __DIR__."/functions/functions.php";
include __DIR__."/functions/db.php";
date_default_timezone_set($config['timeZone']);
////Modules
include __DIR__."/modules/admin.php";
include __DIR__."/modules/skcheck.php";
include __DIR__."/modules/binlookup.php";
include __DIR__."/modules/iban.php";
include __DIR__."/modules/stats.php";
include __DIR__."/modules/me.php";
include __DIR__."/modules/apikey.php";
include __DIR__."/modules/checker/ss.php";
include __DIR__."/modules/checker/schk.php";
include __DIR__."/modules/checker/sm.php";
//////////////===[START]===//////////////
if(strpos($message, "/start") === 0){
if(!isBanned($userId) && !isMuted($userId)){
if($userId == $config['adminID']){
$messagesec = "<b>Type /admin to know admin commands</b>";
}
addUser($userId);
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"<b>Hello @$username,
Type /cmds to know all my commands!</b>
$messagesec",
'parse_mode'=>'html',
'reply_to_message_id'=> $message_id,
'reply_markup'=>json_encode(['inline_keyboard' => [
[
['text' => "💠 Created By 💠", 'url' => "t.me/Arceus69_Xd"]
],
[
['text' => "💎 Source Code 💎", 'url' => "t.me/ninjanaveen"]
],
], 'resize_keyboard' => true])
]);
}
}
//////////////===[CMDS]===//////////////
if(strpos($message, "/cmds") === 0 || strpos($message, "!cmds") === 0){
if(!isBanned($userId) && !isMuted($userId)){
bot('sendmessage',[
'chat_id'=>$chat_id,
'text'=>"<b>Which commands would you like to check?</b>",
'parse_mode'=>'html',
'reply_to_message_id'=> $message_id,
'reply_markup'=>json_encode(['inline_keyboard'=>[
[['text'=>"💳 CC Checker Gates",'callback_data'=>"checkergates"]],[['text'=>"🛠 Other Commands",'callback_data'=>"othercmds"]],
],'resize_keyboard'=>true])
]);
}
}
if($data == "back"){
bot('editMessageText',[
'chat_id'=>$callbackchatid,
'message_id'=>$callbackmessageid,
'text'=>"<b>Which commands would you like to check?</b>",
'parse_mode'=>'html',
'reply_markup'=>json_encode(['inline_keyboard'=>[
[['text'=>"💳 CC Checker Gates",'callback_data'=>"checkergates"]],[['text'=>"🛠 Other Commands",'callback_data'=>"othercmds"]],
],'resize_keyboard'=>true])
]);
}
if($data == "checkergates"){
bot('editMessageText',[
'chat_id'=>$callbackchatid,
'message_id'=>$callbackmessageid,
'text'=>"<b>━━CC Checker Gates━━</b>
<b>/ss | .ss - Stripe [Auth]</b>
<b>/ss2 | .ss2 - Stripe - 2[Auth]</b>
<b>/chk | .chk - Stripe [Merchant]</b>
<b>/sch | .sch - User Stripe Merchant [Needs SK]</b>
<b>/b3 | .b3 - Braintree Merchant [Auth]</b>
<b>/br | .br - Braintree Merchant Gate-2[Auth]</b>
<b>/chg | .chg - Stripe 20$ Chrg [Charge]</b>
<b>/ch2 | .ch2 - Stripe 8.50$ Chrg [Charge]</b>
<b>/shp | .shp - Shopify 8.50$ [Charge]</b>
<b>/sh2 | .sh2 - Shopify 10$ [Charge]</b>
<b>/pp | .pp - Paypal [Auth]</b>
<b>/sch | .sch - User Stripe Merchant [Needs SK]</b>
<b>/gf | .gf - For GirlFrnd [Needs Male Gender]</b>
<b>/rnd | .rnd - For Randi [Needs Dick]</b>
<b>/apikey sk_live_xxx - Add SK Key for /schk gate</b>
<b>/myapikey | !myapikey - View the added SK Key for /schk gate</b>
<b>ϟ Join <a href='t.me/Not_pro_noober'>Dazai Osamu</a></b>",
'parse_mode'=>'html',
'disable_web_page_preview'=>true,
'reply_markup'=>json_encode(['inline_keyboard'=>[
[['text'=>"Return",'callback_data'=>"back"]]
],'resize_keyboard'=>true])
]);
}
if($data == "othercmds"){
bot('editMessageText',[
'chat_id'=>$callbackchatid,
'message_id'=>$callbackmessageid,
'text'=>"<b>━━Other Commands━━</b>
<b>/me | !me</b> - Your Info
<b>/stats | !stats</b> - Checker Stats
<b>/key | !key</b> - SK Key Checker
<b>/bin | !bin</b> - Bin Lookup
<b>/iban | !iban</b> - IBAN Checker
<b>ϟ Join <a href='t.me/IndianBots'>IndianBots</a></b>",
'parse_mode'=>'html',
'disable_web_page_preview'=>true,
'reply_markup'=>json_encode(['inline_keyboard'=>[
[['text'=>"Return",'callback_data'=>"back"]]
],'resize_keyboard'=>true])
]);
}
?>