TheHamkerCat il y a 5 ans
Parent
commit
abe5ad057e
3 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 1 1
      wbb/__main__.py
  2. 1 0
      wbb/modules/sudoers.py
  3. 1 1
      wbb/modules/userbot.py

+ 1 - 1
wbb/__main__.py

@@ -102,7 +102,7 @@ async def help_command(_, message):
                 ),
                 InlineKeyboardButton(
                     text="Support 👨",
-                    url="t.me/PatheticProgrammers"
+                    url="t.me/WBBSupport"
                 )
             ],
             [

+ 1 - 0
wbb/modules/sudoers.py

@@ -142,6 +142,7 @@ __**New Global Ban**__
     if len(message.command) < 2:
         await message.reply_text("**Usage**\n/gban [REASON]")
         return
+    reason = message.text.strip.split(None, 1)[1]
     from_user_id = message.from_user.id
     from_user_mention = message.from_user.mention
     user_id = message.reply_to_message.from_user.id

+ 1 - 1
wbb/modules/userbot.py

@@ -148,4 +148,4 @@ async def shellrunner(client, message):
     else:
         await edit_or_reply(
             message,
-            text='**INPUT:**\n```{text}```\n\n**OUTPUT: **\n`No output`')
+            text=f'**INPUT:**\n```{text}```\n\n**OUTPUT: **\n`No output`')