From 06b6970c7102d414d8d2446b56f69ab5c45f5cec Mon Sep 17 00:00:00 2001 From: Richard Chien Date: Sun, 26 Aug 2018 11:30:22 +0800 Subject: [PATCH] Update demo --- demo/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/demo/__init__.py b/demo/__init__.py index f2c1ef23..d69e050e 100644 --- a/demo/__init__.py +++ b/demo/__init__.py @@ -6,13 +6,11 @@ from demo import config none.init(config) -@none.scheduler.scheduled_job('interval', seconds=3) +@none.scheduler.scheduled_job('interval', seconds=20) async def cb(): bot_ = none.get_bot() try: - await bot_.send_private_msg(self_id=3281334718, - user_id=1002647525, - message='哇') + await bot_.send_private_msg(user_id=1002647525, message='哇') except Exception as e: none.logger.exception(e)