embeds=[revolt.SendableEmbed(title="Timed Out",description=f"You have been timed out for {str(parsed_time)}.",colour="#5d82d1")]
awaittarget.send(embeds=embeds)
# latest_id = cursor.execute("SELECT * FROM mod ORDER BY moderation_id DESC LIMIT 1;")
# sql = "INSERT INTO mod (moderation_id, moderation_type, target_id, duration, reason) VALUES (%s, %s, %s, %s, %s)"
# val = (latest_id, "Timeout", target.id, parsed_time, "Testing")
# cursor.execute(sql, val)
# moddb.commit()
# print(moddb.rowcount, "record inserted.")
@commands.command(aliases=["tdc"])
asyncdeftimedeltaconvert(self,ctx,*,duration):
ifnotduration:
embeds=[revolt.SendableEmbed(description=f"## timedeltaconvert\nThis command converts a duration to a `timedelta` Python object.\n### Example Usage\n`{prefix}timedeltaconvert 1 day 15hr 82 minutes 52 s`\n### Output\n`1 day, 16:22:52`",colour="#5d82d1")]