Zxce3 / userbot

Unused variable found PYL-W0612
Anti-pattern
Major
a year agoa year old
Unused variable 'desc'
 97    commands = modules_help[module_name]
 98
 99    help_text = f"**Help for |{module_name}|\n\nCommands list:\n"
100    for command, desc in commands.items():101        cmd = command.split(maxsplit=1)
102        args = " `" + cmd[1] + "`" if len(cmd) > 1 else ""
103        help_text += f"`{prefix}{cmd[0]}`{args}\n"
Unused variable 'url_help'
41@app.on_message(filters.command("neko", prefix) & filters.me)
42async def getNeko(app, msg):
43    url_api = "http://api.nekos.fun:8080/api/"
44    url_help = "https://www.nekos.fun/apidoc.html"45    cmd = msg.command
46    if len(cmd) == 1:
47        cmd = cmd[0]