mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-16 08:59:00 +00:00
sb 修复一个错误
This commit is contained in:
parent
350b678149
commit
75fa516ae3
@ -282,7 +282,7 @@
|
||||
},
|
||||
{
|
||||
"name": "sb",
|
||||
"version": "1.0",
|
||||
"version": "1.001",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "3.5 kb",
|
||||
|
@ -79,7 +79,10 @@ async def super_ban(message: Message):
|
||||
except Exception as e:
|
||||
return await message.edit(f"出现错误:{e}")
|
||||
return await message.edit(lang("sb_channel"))
|
||||
common = await bot.get_common_chats(uid)
|
||||
try:
|
||||
common = await bot.get_common_chats(uid)
|
||||
except PeerIdInvalid:
|
||||
common = [chat]
|
||||
count, groups = 0, []
|
||||
for i in common:
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user