This commit is contained in:
2024-03-22 23:06:21 +08:00
parent af561ed0a0
commit 5c0ee8b491
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.pkl')
persistence = PicklePersistence(filepath='data/pers.pkl')
application = (ApplicationBuilder()
.token(common.BOT_TOKEN)
.defaults(defaults)