Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
guimc233 committed Jul 14, 2023
1 parent 56f9bb5 commit 1ac22f6
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 2 deletions.
10 changes: 10 additions & 0 deletions list.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@
"supported": true,
"des_short": "Quote Plugin (Origin: yvlu)",
"des": "Quote Plugin (Origin: yvlu), but use @QuotLy Bot!!"
},
{
"name": "quotly_refactor",
"version": "1.01",
"section": "chat",
"maintainer": "Guimc, TeamPGM",
"size": "1.62kb",
"supported": true,
"des_short": "Quote Plugin Refactor (Origin: yvlu)",
"des": "Quote Plugin Refactor (Origin: yvlu), but no depends on any bot"
}
]
}
2 changes: 2 additions & 0 deletions quotly_refactor/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Quote Plugin Refactor (Origin: yvlu)
** Quote Plugin Refactor (Origin: yvlu), but no depends on any bot **
Binary file added quotly_refactor/res/ZhuZiAWan-2.ttc
Binary file not shown.
Binary file added quotly_refactor/res/mask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added quotly_refactor/res/mask1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added quotly_refactor/res/p1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added quotly_refactor/res/p2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added quotly_refactor/res/p3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added quotly_refactor/res/p4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions sticker_refactor/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ async def add_to_stickers(sticker: Message):
await conv.mark_as_read()
if not resp.text.startswith("Thanks!"):
await easy_ask(["/cancel"], conv)
raise GeneralError(f"无法添加贴纸, @Sticker 回复:\n{resp.text}")
raise GeneralError(f"无法添加贴纸, @Stickers 回复:\n{resp.text}")
await easy_ask([random_emoji(), "/done", "/done"], conv)


Expand Down Expand Up @@ -264,6 +264,6 @@ async def sticker_refactor(msg: Message):
目前使用的贴纸包为 {await get_sticker_set()}
Made by BakaBotTeam@GitHub with ❤""")
except PeerIdInvalid:
await msg.edit("❌ 无法打开与 @Sticker 的对话 请先与其私聊一次")
await msg.edit("❌ 无法打开与 @Stickers 的对话 请先与其私聊一次")
except GeneralError as e:
await msg.edit(f"❌ 在处理时发生了错误: {e}")

0 comments on commit 1ac22f6

Please sign in to comment.