added event emmiter

This commit is contained in:
sumanjeet0012@gmail.com
2025-06-20 11:37:02 +05:30
parent cd7eaba4a4
commit 3262749db7
9 changed files with 199 additions and 127 deletions

View File

@ -1,11 +1,11 @@
import random
import string
def stringGen(len: int = 63) -> str:
"""Generate a random string of lowercase letters and digits."""
charset = string.ascii_lowercase + string.digits
result = []
for _ in range(len):
result.append(random.choice(charset))
return ''.join(result)
return "".join(result)