TheHamkerCat hace 5 años
padre
commit
dd0235e2d6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      wbb/modules/sudoers.py

+ 1 - 1
wbb/modules/sudoers.py

@@ -138,7 +138,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]
+    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