fixed slash Commands

upgrades function format to table function