Moved from aioschedule to APSchedule

This commit is contained in:
2024-02-15 15:21:49 +03:00
parent 63c1b58fc9
commit f341ca3490
7 changed files with 23 additions and 19 deletions

View File

@@ -10,7 +10,7 @@ from .handler import MessageHandlerABC
class PostCommand(MessageHandlerABC):
filter = Command('post')
async def _command(self, message: types.Message):
async def _command(self, message: types.Message | None = None):
settings = neuroTypes.BotSettings.get_instance()
try:
post = await neuroapi.post.get_post_to_post()