mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 17:15:05 +08:00
🎨 tweak
This commit is contained in:
parent
f5843dd3ad
commit
e490be9eb0
@ -149,7 +149,7 @@ class MessageEvent(Event):
|
|||||||
|
|
||||||
@overrides(Event)
|
@overrides(Event)
|
||||||
def get_plaintext(self) -> str:
|
def get_plaintext(self) -> str:
|
||||||
return str(self.event.message.content)
|
return str(self.get_message())
|
||||||
|
|
||||||
@overrides(Event)
|
@overrides(Event)
|
||||||
def get_user_id(self) -> str:
|
def get_user_id(self) -> str:
|
||||||
|
Loading…
Reference in New Issue
Block a user