Implemented ignoring of events sent before the room was joined
- Fixed room bot so that it only sends help message when the message has text in it - Incremeneted database SCHEMA_VERSION, now it's 2
This commit is contained in:
@@ -226,7 +226,7 @@ async def main() -> None:
|
||||
)
|
||||
#
|
||||
bot.add_callback(
|
||||
~SenderIsBotFilter() & NewMessageFilter(),
|
||||
~SenderIsBotFilter() & NewMessageFilter() & BodyExistsFilter(),
|
||||
on_help_message
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user