Functions are showing up

I am trying to make a datapack for version 1.21 but a couple of the functions are not showing in game. There are 2 files that are giving me trouble They are as follows: kick_all.mcfunction execute as @a run kick @s

start_session

say After 20 minutes EVERYONE will be kicked to conserve resources.
tick sprint 28800s
schedule function voteafk:warn_kick_all 900s```

And the voteafk:warn_kick_all function does appear ingame.

Can anyone spot anything wrong here?
Continue to help post