浏览代码

Hard coded /repo command's reply again!

thehamkercat 5 年之前
父节点
当前提交
2d5dae7743
共有 4 个文件被更改,包括 4 次插入 和 8 次删除
  1. 0 2
      sample_config.ini
  2. 0 2
      wbb/__init__.py
  3. 3 3
      wbb/modules/repo.py
  4. 1 1
      wbb/start.txt

+ 0 - 2
sample_config.ini

@@ -5,8 +5,6 @@ api_hash = r7s8c3b22d4869bd6ca7cc756cb9
 
 [admin]
 owner_id = 1243703097
-developer_username = @TheHamkerCat
-repo_url = github.com/thehamkercat/WilliamButcherBot
 
 [prefix]
 prefixes = /

+ 0 - 2
wbb/__init__.py

@@ -32,8 +32,6 @@ log = logging.getLogger()
 config = ConfigParser()
 config.read("config.ini")
 OWNER_ID = int(config.get("admin", "owner_id"))
-DEVELOPER_USERNAME = (config.get("admin", "developer_username"))
-REPO_URL = (config.get("admin", "repo_url"))
 Command = config.get("prefix", "prefixes").split()
 MOD_LOAD = config.get("mods", "load_modules").split()
 MOD_NOLOAD = config.get("mods", "noload_modules").split()

+ 3 - 3
wbb/modules/repo.py

@@ -1,4 +1,4 @@
-from wbb import app, DEVELOPER_USERNAME, REPO_URL
+from wbb import app
 from pyrogram import filters
 from wbb.utils import cust_filter
 
@@ -9,8 +9,8 @@ __HELP__ = "Do /repo To Get My Github Repository Link"
 @app.on_message(cust_filter.command(commands=(["repo"])))
 async def commit(client, message):
     await message.reply_text(f'''
-👨‍💻 Developer - {DEVELOPER_USERNAME}
+👨‍💻 Developer - @TheHamkerCat
 
-🔗 Repo - {REPO_URL}
+🔗 Repo - github.com/thehamkercat/WilliamButcherBot
 
 ❤️ PRs Are Always Welcomed''', disable_web_page_preview=True)

+ 1 - 1
wbb/start.txt

@@ -4,7 +4,7 @@ Fuckin’ diabolical.
 I just had to pop down to the shop …  I was running a bit low on mind your own fucking business.
 You see, when they’re apart, they’re absolute fuckin’ rubbish … but you put them together, they’re the goddamn fucking Spice Girls.
 Sounds good, does it taste like lies? I’ve got your phone linked to my Find Your Shithead Friends app. Now where the fuck are you?
-Shake Shack, huh? Nice try Cunt!.
+Shake Shack, huh? Nice try Cunt!
 Well Well Well if it ain't the invisible cunt.
 Why i'm dying to live if i'm living to die?
 Mama ain't raised no bitch, ima speak up when i need to.