доброе утро! подскажите пожалуйста что я делаю не так?
код:
@dp.message_handler(is_chat_admin=True, commands=["mute"], commands_prefix="!/")
async def mute(message: types.Message):
ctime = str(message.get_args)
await message.bot.restrict_chat_member(chat_id=
message.chat.id, user_id=message.reply_to_message.from_user.id, until_date=time()+ctime)
ошибка:
TypeError: unsupported operand type(s) for +: 'datetime.time' and 'str'