Created the registerChatCommands() method