Datapack Function Not Showing In Game

I knew bascially nothing about datapacks before today, but I wanted to attempt to create one for my server with some friends. I want it to send random messages from a list hourly, but the hourly:message function isn't showing up in game. I did use chatgpt to help me make it so that's likely the issue, but I do genuinely want to understand what the issue is and fix it. also ignore the stick recipe thing I was messing around and testing stuff. also the game version is 1.21.1 if that matters, thank you
Continue to help post