I'm not asking for a script to be wrote, but I was wondering how possible it is that when I write out a commands script. (add/remove/edit commands) is it possible to assign user levels to said commands.

Say a mod wants to add a command for social media or stuff of that like and only for those commands to be called by mod level or higher, is it possible to make it write it like that?