Email generator for discord

Here is a simple email generator for Discord:

Email Generator for Discord

This script generates a random email address in the format [email protected]. You can customize the domain and the length of the username.

Code:

import random
import string

def generate_email(username, domain, length):
    # Generate a random username
    random_username = ''.join(random.choices(string.ascii_lowercase + string.digits, k=length))
    # Create the email address
    email = f"{username}{random_username}@{domain}"
    return email

# Example usage:
username = "john"
domain = "example.com"
length = 5
email = generate_email(username, domain, length)
print(email)

Output:

[email protected]

How it works:

  1. The script generates a random username using a combination of lowercase letters and digits.
  2. The script creates an email address by concatenating the username, a random username, and the domain.
  3. The script returns the generated email address.

Customization:

Limitations:

Security: