Skip to content

Commit

Permalink
<grab>[feat]poke 调用config属性错误
Browse files Browse the repository at this point in the history
  • Loading branch information
HornCopper committed Aug 22, 2024
1 parent 032d840 commit 55ab7a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/grab/poke.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

@poke_me.handle()
async def _(event: PokeNotifyEvent):
if event.group_id == None or event.self_id not in list(Config.bot_basic.notice_to.__dict__):
if event.group_id == None or event.self_id not in list(Config.bot_basic.bot_notice.__dict__):
return
else:
await poke_me.finish("音卡在呢!找音卡有什么事吗!(^ω^)" + ms.image("https://inkar-suki.codethink.cn/Inkar-Suki-Docs/img/emoji.jpg"))

0 comments on commit 55ab7a3

Please sign in to comment.