forked from akifuslu/husnabot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
b0t.php
55 lines (46 loc) · 1.68 KB
/
b0t.php
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
<?php
require_once("b0t.class.php");
$data = file_get_contents('php://input');
$data = json_decode($data, TRUE);
$husnab0t = new husna($data);
require_once("b0t.functions.php");
/*blocking too many wildcards*/
$cagrici=$husnab0t->getFirstWord();
if($cagrici == "getirhoca") {
$devam=trim($husnab0t->getOtherWords());
if(substr_count($devam, '%') > 1) {
spamlamayin();
}
else {
require_once("priv8.php");
}
}
$husnab0t->addCommand("bilgiad","bilgiadFunc");
$husnab0t->addCommand("mizahyab","mizahyabFunc");
$husnab0t->addCommand("fotoad","fotoadFunc");
$husnab0t->addCommand("yemekad","yemekteNeVar");
$husnab0t->addCommand("dolarad","dolaradFunc");
$husnab0t->addCommand("avroad","avroadFunc");
$husnab0t->addCommand("euroad","avroadFunc");
$husnab0t->addCommand("egonomiad","egonomiadFunc");
$husnab0t->addCommand("havadurumuad","havadurumuadFunc");
$husnab0t->addCommand("helb","helber");
$husnab0t->addCommand("help","helber");
$husnab0t->addCommand("neyesem","yemeksepeti");
$husnab0t->addCommand("gunaydin","gunadyinFunc");
$husnab0t->addCommand("günaydın","gunadyinFunc");
$husnab0t->addCommand("boşyapıyolar","bojyabmaFunc");
$husnab0t->addCommand("bojyapıyolar","bojyabmaFunc");
$husnab0t->addCommand("bosyapiyolar","bojyabmaFunc");
$husnab0t->addCommand("boşyapiyolar","bojyabmaFunc");
$husnab0t->addCommand("bojyapiyolar","bojyabmaFunc");
$husnab0t->addCommand("nasıl","beyle");
$husnab0t->addCommand("nasil","beyle");
$husnab0t->addCommand("java","jaava");
$husnab0t->addCommand("bilimsiz","bilimsiz");
$husnab0t->addCommand("muazzam","muazzam");
//$husnab0t->addCommand("komutad","komutad");
/* PUT NEW COMMANDS BELOW */
/* PUT NEW COMMANDS ABOVE */
$husnab0t->proccess();
?>