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