|
52 | 52 | if($totalUsed >= $total - 1024 && $total != 0){ |
53 | 53 | if(!isset($usersInfo[$uuid])){ |
54 | 54 | $info['usersInfo'][$uuid] = ""; |
55 | | - sendMessage($Config['report_channel'], "حجم بسته ی کاربر زیر رو به اتمام است\nآیپی سرور: $serverIp\nuuid: $uuid\nیوزرنیم: $remark\nپورت: $port"); |
| 55 | + sendMessage($Config['report_channel'], ""); |
56 | 56 | } |
57 | 57 | }elseif($expiryTime - time() <= (24 * 60 * 60) && $expiryTime != 0){ |
58 | 58 | if(!isset($usersInfo[$uuid])){ |
59 | 59 | $info['usersInfo'][$uuid] = ""; |
60 | | - sendMessage($Config['report_channel'], "زمان بسته ی کاربر زیر رو به اتمام است\nآیپی سرور: $serverIp\nuuid: $uuid\nیوزرنیم: $remark\nپورت: $port"); |
| 60 | + sendMessage($Config['report_channel'], ""); |
61 | 61 | } |
62 | 62 | }else{ |
63 | 63 | unset($arr['userInfo']['ryan']); |
|
121 | 121 | if($total - $totalUsed < - ($mbLeft * 1024 * 1024) && $total != 0){ |
122 | 122 | if(!isset($usersInfo[$uuid])){ |
123 | 123 | $info['usersInfo'][$uuid] = ""; |
124 | | - sendMessage($Config['report_channel'], "حجم بسته ی کاربر $userId\nuuid: $uuid"); |
| 124 | + sendMessage($Config['report_channel'], " |
| 125 | +❌ | ☑️ کاربر زیر 85 درصد از حجم خورد را مصرف کرده است : |
| 126 | +
|
| 127 | +🔅کلید کاربر: $uuid |
| 128 | +🔅نام کاربر: $remark |
| 129 | +👽 پورت کاربر : $port |
| 130 | +
|
| 131 | +🆔 @wizwizdev |
| 132 | +
|
| 133 | +"); |
125 | 134 | } |
126 | 135 | }elseif($expiryTime - time() <= ($hourLeft * 60 * 60) && $expiryTime != 0){ |
127 | 136 | if(!isset($usersInfo[$uuid])){ |
128 | 137 | $info['usersInfo'][$uuid] = ""; |
129 | | - sendMessage($Config['report_channel'], "زمان بسته ی کاربر $userId\nuuid: $uuid"); |
| 138 | + sendMessage($Config['report_channel'], " |
| 139 | +⏰ | 🔌 زمان بسته کاربر رو به پایان است: |
| 140 | +
|
| 141 | +🔑کلید کاربر: $uuid |
| 142 | +🧑💼نام کاربر: $remark |
| 143 | +💡 پورت کاربر : $port |
| 144 | +
|
| 145 | +🆔 @wizwizdev |
| 146 | +
|
| 147 | +"); |
130 | 148 | } |
131 | 149 | }else{ |
132 | 150 | unset($arr['userInfo']['ryan']); |
|
0 commit comments