fix: remove announcement

This commit is contained in:
xtaodada 2023-09-25 23:13:22 +08:00
parent c5f23fbdaf
commit e3146b44ba
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -3,7 +3,7 @@ from misskey_init import misskey_bot_map
from models.services.scheduler import scheduler
@scheduler.scheduled_job("interval", minutes=15, id="check_announcement")
# @scheduler.scheduled_job("interval", minutes=15, id="check_announcement")
async def announcement():
for bot in misskey_bot_map.values():
data = await get_unread_announcements(bot)