mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-23 22:24:32 +00:00
11 lines
229 B
Python
11 lines
229 B
Python
import random
|
|
import string
|
|
|
|
async def main(context, length):
|
|
if length > 1000:
|
|
length = 100
|
|
s = ""
|
|
for i in range(length):
|
|
s += random.choice(string.ascii_letters + string.digits)
|
|
return f"`{s}`"
|