mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-22 08:27:38 +00:00
💩 修复 throwit 部分代码错误
This commit is contained in:
parent
7d4641d9a7
commit
a4a41059ff
@ -82,7 +82,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "throwit",
|
"name": "throwit",
|
||||||
"version": "1.3",
|
"version": "1.4",
|
||||||
"section": "profile",
|
"section": "profile",
|
||||||
"maintainer": "xtaodada",
|
"maintainer": "xtaodada",
|
||||||
"size": "6.9 kb",
|
"size": "6.9 kb",
|
||||||
|
@ -104,7 +104,7 @@ async def throwit(context):
|
|||||||
if randint_r == 1:
|
if randint_r == 1:
|
||||||
background = Image.open("plugins/throwit/2.png")
|
background = Image.open("plugins/throwit/2.png")
|
||||||
elif randint_r == 2:
|
elif randint_r == 2:
|
||||||
background = Image.open("plugins/throwit/2.png")
|
background = Image.open("plugins/throwit/1.png")
|
||||||
foreground = Image.open("plugins/throwit/" + str(target_user.user.id) + ".png")
|
foreground = Image.open("plugins/throwit/" + str(target_user.user.id) + ".png")
|
||||||
if len(context.parameter) == 2:
|
if len(context.parameter) == 2:
|
||||||
diu_round = True
|
diu_round = True
|
||||||
|
Loading…
Reference in New Issue
Block a user