🐛 fix: strip after at bot

This commit is contained in:
yanyongyu
2020-09-10 18:31:53 +08:00
parent 6d37417d21
commit bd7aaa94c6
5 changed files with 23 additions and 2 deletions

View File

@ -1,11 +1,12 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from nonebot.rule import to_me
from nonebot.typing import Event
from nonebot.plugin import on_message
from nonebot.adapters.cqhttp import Bot
test_message = on_message(state={"default": 1})
test_message = on_message(to_me(), state={"default": 1})
@test_message.handle()