fix pers_data

This commit is contained in:
2024-03-22 23:03:04 +08:00
parent 985fe3fbfe
commit af561ed0a0
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ async def post_shutdown(application: Application) -> None:
def main():
defaults = Defaults(parse_mode=ParseMode.HTML, allow_sending_without_reply=True)
persistence = PicklePersistence(filepath='pers_data')
persistence = PicklePersistence(filepath='pers.pkl')
application = (ApplicationBuilder()
.token(common.BOT_TOKEN)
.defaults(defaults)