فهرست منبع

Merge branch 'pnut-dev' of https://github.com/thehamkercat/WilliamButcherBot into pnut-dev

ポキ 5 سال پیش
والد
کامیت
204afd3c61
6فایلهای تغییر یافته به همراه17 افزوده شده و 6 حذف شده
  1. BIN
      ..gitignore.swp
  2. 1 1
      .gitignore
  3. 12 2
      README.md
  4. 3 2
      requirements.txt
  5. 0 0
      wbb/logs/README.md
  6. 1 1
      wbb/modules/commit.py

BIN
..gitignore.swp


+ 1 - 1
.gitignore

@@ -126,4 +126,4 @@ dmypy.json
 *.ini
 *.pyc
 *.session
-*.session-journal
+*.session-journal

+ 12 - 2
README.md

@@ -13,7 +13,7 @@ Just Another Telegram Bot Written In Python Using Pyrogram.
 
 1. `git clone https://github.com/thehamkercat/WilliamButcherBot`, to download the source code.
 2. `cd wbb`, to enter the directory.
-3. `pip install -r requirements.txt`, to install the requirements.
+3. `pip3 install -r requirements.txt`, to install the requirements.
 4. `cp sample_config.ini config.ini` It should look like the code below:<br>
 
 ```
@@ -21,9 +21,19 @@ Just Another Telegram Bot Written In Python Using Pyrogram.
    api_id = 12345
    api_hash = 0123456789abcdef0123456789abcdef
    bot_token = 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
+   
+   [admin]
+   owner_id = 1243703097
+
+   [prefix]
+   prefixes = /
+
+   [mods]
+   load_modules =
+   noload_modules =
    ```
 5. Run with `python3 -m wbb`
 
 ## License
 
-MIT © 2019-2020 [Dan](//github.com/delivrance)
+MIT © 2019-2020

+ 3 - 2
requirements.txt

@@ -1,4 +1,5 @@
 psutil
-shutil
+uvloop
+aiohttp
 pyrogram==1.0.7
-TgCrypto
+TgCrypto

+ 0 - 0
wbb/logs/README.md


+ 1 - 1
wbb/modules/commit.py

@@ -8,4 +8,4 @@ __HELP__ = "A Fun little module, try /commit uwu"
 
 @app.on_message(cust_filter.command(commands=(["commit"])))
 async def commit(client, message):
-    await message.reply_text(random_line("wbb/commit.txt"))
+    await message.reply_text((await random_line('wbb/commit.txt')))