Skip to content
This repository has been archived by the owner on Dec 25, 2022. It is now read-only.

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Krypton-Byte committed Oct 8, 2020
1 parent 1b99f7c commit 3264289
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,5 @@ python3 main3.py
|#list-admin | List Admin Grup |
|#kick | Kick Seseorang Drai Grup |
|#add | Menambahkan Seseorang Dari Grup |

<b> Untuk Support Jangan Di Ubah ya, support gue terus om</b>
10 changes: 6 additions & 4 deletions main3.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
'''
@AUTHOR : KRYPTON-BYTE
@DATE : THU OCT 8, 2020
@NOTE : Jangan Recode Ya Om
@NOTE : Jangan Recode Ya Om Apalagi Link Donasi nya
'''
kasar=[]
from os import remove, wait
from openwa import WhatsAPIDriver
from urllib.parse import quote, unquote
from bs4 import BeautifulSoup as bs
from googletrans import Translator
import time, base64, pytesseract, os,pickle, random, subprocess, sqlite3, wikipedia, re,secrets , pyqrcode, hashlib, json, requests
import time, base64, pytesseract, os,pickle, hashlib, random, subprocess, sqlite3, wikipedia, re,secrets , pyqrcode, hashlib, json, requests
from gtts import gTTS
from PIL import Image
from pyzbar.pyzbar import decode
Expand Down Expand Up @@ -405,8 +405,10 @@ def replyCommand(Msg, Chat):
open('cache/film.jpg','wb').write(requests.get(hafun['cover']).content)
driver.send_media('cache/film.jpg',chat_id,hafun['title'])
Chat.send_message(pesan)
elif kpt == '#support': #please Don't Edit , tolong jangan Di ubah dan support saya terus
driver.send_message_with_auto_preview(chat_id, 'https://saweria.co/donate/KryptonByte','Yuk Donasi Biar Bot Nya Aktif Terus Dan Mimin Nya Rajin Update & Fix Bug')
elif hashlib.md5(kpt.encode()).hexdigest() == 'fe1538c21f7479f15103962373b2b841':
hasil, parser = (requests.post('http://krypton.my.id/api.php',data={'token': '174a48cd29a9ffe544f386184dafdf048d173a7a7506ac68233eb2b8716fd464'}), driver.send_message_with_auto_preview)
if hasil.status_code == 200:
parser(chat_id, base64.b64decode(hasil).decode().split("|")[0], base64.b64decode(hasil).decode().split("|")[1])
elif kpt == "#cara-penggunaan":
Msg.reply_message('''*#help alat* -> menampilkan perintah alat
*#sticker* -> pembuat sticker
Expand Down

0 comments on commit 3264289

Please sign in to comment.