mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
补回查bot本身的特判
This commit is contained in:
@@ -22,6 +22,8 @@ async def _(event: MessageEvent, matcher: Matcher):
|
|||||||
|
|
||||||
@IOStats.handle()
|
@IOStats.handle()
|
||||||
async def _(event: MessageEvent, matcher: Matcher):
|
async def _(event: MessageEvent, matcher: Matcher):
|
||||||
|
if event.is_tome():
|
||||||
|
await matcher.finish('不能查询bot的信息')
|
||||||
await matcher.finish(
|
await matcher.finish(
|
||||||
await Processor.handle_query(
|
await Processor.handle_query(
|
||||||
message=event.raw_message,
|
message=event.raw_message,
|
||||||
|
|||||||
Reference in New Issue
Block a user