💩 修复 throwit 部分代码错误

This commit is contained in:
xtaodada 2020-08-12 01:12:55 +08:00
parent 7d4641d9a7
commit a4a41059ff
No known key found for this signature in database
GPG Key ID: EE4DC37B55E24736
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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