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