/Ban

Hey! I'm trying to use the /ban command in a datapack I'm creating. For some reason, I can't get it to work. I don't even know if /ban works in datapacks. I tried doing some research, but nothing helped. Any help is appreciated.

Continue to help post