mirror of
https://github.com/MrSedan/neuro-reply-bot-reworked.git
synced 2026-01-15 05:59:43 +03:00
Moved from aioschedule to APSchedule
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user