mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-21 18:38:19 +00:00
keyword 函数 ranstr 更新
This commit is contained in:
parent
c541801cb6
commit
4879a7713d
@ -1,11 +1,7 @@
|
|||||||
import random
|
import random
|
||||||
import string
|
import string
|
||||||
|
|
||||||
async def main(context):
|
async def main(context, length):
|
||||||
try:
|
|
||||||
length = int(context.text.split()[1])
|
|
||||||
except:
|
|
||||||
length = 8
|
|
||||||
if length > 1000:
|
if length > 1000:
|
||||||
length = 100
|
length = 100
|
||||||
s = ""
|
s = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user